... with an array without the :SetMultiSelectCol() and I have the ability to display a menupopup like this MENU oMenu POPUP if oBrw:IsSelectedRow() MENUITEM "Deselect the current row" action DeSelect_One_array(oBrw) MENUITEM "Deselect everything" action oBrw:SelectRow( 0 ) MENUITEM ...
Hola Temas asi los soluciono con el preprocesador. Haciendo un esbozo: #Translate xmenuitem <c1> action <fAction> message <cMessage> => ; menuitem <c1> action ( LogAction(<c1>), ...
... en la opción del menú ? Existe algún método, algún bchange donde se pueda tomar la opción antes de ejecutarse ? Ejemplo: menu oMnuDBIO Popup 2007 menuitem '&Países' action CATPai() message 'Países' menuitem '&Entidades Federativas' [url][/url] action CATEst() message 'Entidades Federativas' ...
MENUITEM "Copy" WHEN acopy=NIL .and. oBrw:IsSelectedRow(); // only when is seletected ACTION ( IIF(Len(oBrw:aselected) >1,aClone:=Giverows(oBrw),; aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows(oBrw) ...
... have ? I have the last release of fwh Silvio, Here you have the solution. But, look also into xbrowse.prg in C:\FWH\Source\Classes\xbrowse.prg. MENUITEM "Copy" WHEN acopy=NIL ACTION ( aCopy := oBrw:aRow,; oBrw:SetFocus(), xbrowse(oBrw:aSelected) ) All you need is there. This is the ...
... have ? I have the last release of fwh Silvio, Here you have the solution. But, look also into xbrowse.prg in C:\FWH\Source\Classes\xbrowse.prg. MENUITEM "Copy" WHEN acopy=NIL ACTION ( aCopy := oBrw:aRow,; oBrw:SetFocus(), xbrowse(oBrw:aSelected) ) All you need is there. This is the ...
Perhaps... MENUITEM "Copy" WHEN acopy=NIL .and. oBrw:IsSelectedRow(); // only when is seletected ACTION IIF(Len(oBrw:aseleted) >1,Aclone:= Giverows (oBrw),aCopy := aclone(oBrw:aRow)),; oBrw:SetFocus() ) Function Giverows ...
... of how you could modify your code: ### Modified Copy Functionality ```harbour // Inside PopMenu Function - Modify the "Copy" Menu Item MENUITEM "Copy" WHEN acopy==NIL .and. oBrw:IsSelectedRow(); ACTION ( aCopy := {}, // Initialize aCopy as an empty array FOR EACH nRow IN oBrw:aSelectedRows ...
... and msgInfo's. Best regards, Otto I not understood when I copy insert on acopy the row I selected ( all field) change acopy[1] with new codsep MENUITEM "Paste" WHEN acopy!=NIL ACTION ( ; oBrw:Lock(), ; aCopy[ 1 ] := codsep ,; aCopy[ 8 ] := 0 ,; //recno aadd( oBrw:aArrayData, aCopy ...
https://i.postimg.cc/R0YV9Xff/fff.gif when I copied to the second xbrowse it should enable the "copy" menuitem and disable the "paste" menuitem and give the possibility to copy another line and repeat the operations instead the copy command is disabled ...
what menuitem is missing ? I can't understand what you posted... Hi Antonio, When the right button is pressed in Webview, "Inspect" should appear on the bottom line of the menu that opens. The pictures I sent are in ...
i know that i can use a LINK in RICHTEXT and also in MENUITEM (Mailto:) i want to know if Fivewin have a Function else i have to write my "own" using a DIALOG (like in Sample you point to)