... //panel for the text oItem2:=Tpanel():New( 2, 2,; oItem1:nBottom-45,oItem1:nWidth-4, oItem1) oItem2:SetBrush( oBrushtext ) //the text @ 5,o10 SAY oMemo VAR cMessageMemo of oItem2 ; SIZE oItem2:nwidth-40,oItem2:nBottom-10 PIXEL ; FONT oFontText TRANSPARENT UPDATE How I can calculate the nbottom ...
... el texto y salieron por la X sin guardar, se puede? Static Function RichEdit5( cText, cTitle, nTop, nLeft, nBottom, nRight ) local oFont, oDlg, oMemo local hDLL local uTemp := If( ! Empty( cText ), cText, '' ) local lRich := .F., lGTF := .F., lOk := .F. DEFAULT nTop := 9, nLeft := 9, nBottom ...
... NOBORDER ; ACTION If( ! Empty( bSave ), Eval( bSave, oRtf:SaveAsRTF() ),) ... ACTIVATE DIALOG oDlg CENTERED ; ON INIT ( BuildRichEditBar( oDlg, oMemo, { | c | cText := c } ), oDlg:ReSize() ) The missing bitmaps are not yet implemented. For now you have to provide these resources yourself: "Left", ...
... para nada. Se crea el control de la izquierda. En re.prg: oTree = TTreeView():New( 2, 0, oWndRC ) Se crea el control de la derecha: @ 0, 25.7 GET oMemo VAR cItemText MEMO OF oWndRC SIZE 300, 100 Y finalmente el splitter que controlará a ambos y se le envia el mensaje de ajustar el area de ambos ...
... And this little change in FWH function MemoEdit() (source\function\memoedit.prg line 56): If( bText != nil, oMemo:SetText( Eval( bText, oDlg ) ),),; And here you have it :-) https://bitbucket.org/fivetech/screenshots/downloads/fivedbu_copy_to_clipboard.jpg
... hacer en varios pasos en forma oculta al usuario, primero grabas el registro en un memo, luego seleccionas el memo, y lo copias al portapapel con oMemo:copy(), y luego lo pegas donde te haga falta con oHoja:past(). No lo probe pero de acuerdo a los samples creo que es posible. Buscate en los samples ...
Hi, Is there a maximum length for a GET? @ 10 , 1 GET oMemo VAR cMemo OF oDlg MEMO I use a MEMO GET to log activity of a procedure and Add every new files FUNCTION ELEFILE( cFile , oProgr ) LOCAL nLinee := mlcount( oProgr:gettext() ) LOCAL nPosEnd := ...
... and if the last key pressed is an up/down arrow focus is moved to the next or previous control. I fixed this problem by adding oDate:oJump := oMemo to the beginning of the button action. Randal