FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour New Menus clauses Wiki updated
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

New Menus clauses Wiki updated

Posted: Mon Jul 10, 2017 05:26 PM

First Step for information of menus

http://wiki.fivetechsoft.com/doku.php?i ... ldown_menu

Soon more information and a sample containing examples of these clauses be added

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Mon Jul 10, 2017 09:54 PM

Updated with more information

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Mon Jul 10, 2017 10:28 PM

Now also any images

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 12:38 AM

Thank you so much.

It looks great and will be a huge help. I look forward to enhancing my menus with this new information.

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 01:30 AM
Hi Mr.Cristobal,

Very good addition to FWH Library :-)

By the way 'CtrlMove( oWnd )' not not found
while linking MNU01.PRG or MNUSELECT.PRG.

And I am getting run time error with the
following lines of code in MNUSELECT.PRG


MENUITEM Upper( "FieldNames_" ) + Alias( 1 )
MENU SELECT ( Alias( 1 ) )->( DbStruct() ) LIMIT -1 COLUMNS 2, 1, 3 //, 4
ENDMENU

MENUITEM Upper( "FieldNames_" ) + Alias( 1 ) + "_EXPAND"
MENU SELECT ( Alias( 1 ) )->( DbStruct() ) LIMIT -1 COLUMNS 1, 2, 3, 4 EXPAND ;
NOFORM HEADERS "Name", "Type", "Length", "Decs"
ENDMENU

MENUITEM Upper( "FieldNames" ) + "_EXPAND_FORM_ACTIONS"
MENU SELECT ( Alias( 1 ) )->( DbStruct() ) LIMIT -1 COLUMNS 1, 2, 3, 4 EXPAND ;
HEADERS "Name", "Type", "Length", "Decs" ACTION { | oI | MyAction( oI ) }
//LEFTWIDTH if( lSys, 24, 1 ) ;
//LOGOMENU "..\bitmaps\fivetechv.png" ;
ENDMENU


Error log details are :

Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... } length: 4
[ 2] = N 5

Stack Calls
===========
Called from: .\source\classes\PDMENU.PRG => MENUDATA( 525 )
Called from: .\source\classes\PDMENU.PRG => MENUBEGIN( 212 )
Called from: MNUSELECT.prg => MENUDATABASE( 93 )
Called from: MNUSELECT.prg => MAIN( 21 )


I have tested with FWH 17.06

Please do the needful.

-Ramesh Babu
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 06:53 AM

Dear Ramesh Babu

Please, Check that you are using the Menu.ch file of the latest version
All code is provided in the example MnuSelect.prg of version 17.06 and the function CtrlMove (oWnd) is included within that file

Any problem, let me know

Regards

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 07:55 AM

Wiki Menus finished

Regards

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 08:15 AM
Cristobal,

I would like to include a menue-sample to my sample-collector
but it produces a error ( < mnuselect.prg > compiled from original sample-folder )
After adding a menue-sample, I will update the tool because many new samples
are added like a metro-sample and the new gradient-circle-test on windows, dialog and folder.



Application
===========
Path and name: I:\FWH\samples\mnuselect.exe (32 bits)
Size: 3,508,224 bytes
Compiler version: xHarbour 1.2.3 Intl. (SimpLex) (Build 20161218)
FiveWin version: FWHX 17.06
C compiler version: Borland/Embarcadero C++ 7.0 (32-bit)
Windows version: 6.2, Build 9200

Time from start: 0 hours 0 mins 0 secs
Error occurred at: 07/11/17, 10:15:54
Error description: Error BASE/1132 Bound error: array access
Args:
[ 1] = A { ... } length: 4
[ 2] = N 5

Stack Calls
===========
Called from: .\source\classes\PDMENU.PRG => MENUDATA( 525 )
Called from: .\source\classes\PDMENU.PRG => MENUBEGIN( 212 )
Called from: mnuselect.prg => MENUDATABASE( 92 )

regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 09:27 AM

Uwe, Send me a mail, please

Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 6755
Joined: Wed Feb 15, 2012 08:25 PM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 09:39 AM
RAMESHBABU wrote:Hi Mr.Cristobal,

Very good addition to FWH Library :-)

By the way 'CtrlMove( oWnd )' not not found
while linking MNU01.PRG or MNUSELECT.PRG.


I have tested with FWH 17.06

Please do the needful.

-Ramesh Babu


Please look your mail
Cristobal Navarro

Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noci贸n del tiempo

El secreto de la felicidad no est谩 en hacer lo que te gusta, sino en que te guste lo que haces
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM

Re: New Menus clauses Wiki updated

Posted: Tue Jul 11, 2017 02:14 PM

Mr.Cristobal,

I sent you an email. Please check.

-Ramesh Babu

Continue the discussion