Page 1 of 1

New Menus clauses Wiki updated

PostPosted: Mon Jul 10, 2017 5:26 pm
by cnavarro
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

Re: New Menus clauses Wiki updated

PostPosted: Mon Jul 10, 2017 9:54 pm
by cnavarro
Updated with more information

Re: New Menus clauses Wiki updated

PostPosted: Mon Jul 10, 2017 10:28 pm
by cnavarro
Now also any images

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 12:38 am
by TimStone
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

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 1:30 am
by RAMESHBABU
Hi Mr.Cristobal,

Very good addition to FWH Library :D

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

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 6:53 am
by cnavarro
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

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 7:55 am
by cnavarro
Wiki Menus finished

Regards

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 8:15 am
by ukoenig
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.

Image

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 :?:

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 9:27 am
by cnavarro
Uwe, Send me a mail, please

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 9:39 am
by cnavarro
RAMESHBABU wrote:Hi Mr.Cristobal,

Very good addition to FWH Library :D

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

Re: New Menus clauses Wiki updated

PostPosted: Tue Jul 11, 2017 2:14 pm
by RAMESHBABU
Mr.Cristobal,

I sent you an email. Please check.

-Ramesh Babu