Search found 764 matches: menuitem

Return to advanced search

SetMultiSelectCol() on line

... 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 ...
by Silvio.Falconi
Sat Apr 13, 2024 8:32 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SetMultiSelectCol() on line
Replies: 5
Views: 186

Re: RIBBONBAR cachar el nombre del ACTION ejecutado

Hola Temas asi los soluciono con el preprocesador. Haciendo un esbozo: #Translate  xmenuitem <c1> action                      <fAction>   message <cMessage> => ;             menuitem <c1> action  ( LogAction(<c1>), ...
by paquitohm
Tue Jan 23, 2024 7:44 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RIBBONBAR cachar el nombre del ACTION ejecutado
Replies: 3
Views: 193

RIBBONBAR cachar el nombre del ACTION ejecutado

... 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' ...
by Joel Andujo
Tue Jan 23, 2024 4:50 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: RIBBONBAR cachar el nombre del ACTION ejecutado
Replies: 3
Views: 193

Re: copy a row of xbrowse

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) ...
by Silvio.Falconi
Wed Dec 06, 2023 12:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

... 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 ...
by Silvio.Falconi
Wed Dec 06, 2023 11:52 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

... 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 ...
by Otto
Wed Dec 06, 2023 10:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

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 ...
by Silvio.Falconi
Wed Dec 06, 2023 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

... 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 ...
by Otto
Tue Dec 05, 2023 3:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

... 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 ...
by Silvio.Falconi
Tue Dec 05, 2023 1:14 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

You have to extend here: MENUITEM "Copy" WHEN acopy=NIL ACTION ( aCopy := oBrw:aRow,; oBrw:SetFocus() ) and here: aadd( oBrw:aArrayData,aCopy ),; // oBrw:aArrayData[ oBrw:nArrayAt ] := aCopy ,; >MENUITEM "Copy" ...
by Silvio.Falconi
Tue Dec 05, 2023 9:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

You have to extend here:
MENUITEM "Copy" WHEN acopy=NIL ACTION ( aCopy := oBrw:aRow,;
oBrw:SetFocus() )


and here:
aadd( oBrw:aArrayData,aCopy ),; // oBrw:aArrayData[ oBrw:nArrayAt ] := aCopy ,;
by Otto
Tue Dec 05, 2023 9:05 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: copy a row of xbrowse

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 ...
by Silvio.Falconi
Tue Dec 05, 2023 8:19 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: copy a row of xbrowse
Replies: 36
Views: 5790

Re: how to open devtoolswindow from application.

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 ...
by Horizon
Sat Jul 08, 2023 10:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to open devtoolswindow from application.
Replies: 21
Views: 1143

Re: how to open devtoolswindow from application.

what menuitem is missing ? I can't understand what you posted...
by Antonio Linares
Sat Jul 08, 2023 9:56 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: how to open devtoolswindow from application.
Replies: 21
Views: 1143

Re: MsgInfo with LINK ?

Hi,
Cgallegoa wrote:Look \fwh\samples\testurl.prg

thx for Answer

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)
by Jimmy
Sun Jun 25, 2023 8:20 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: MsgInfo with LINK ?
Replies: 2
Views: 234
Next

Return to advanced search