New Menus clauses Wiki updated

New Menus clauses Wiki updated

Postby cnavarro » Mon Jul 10, 2017 5: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby cnavarro » Mon Jul 10, 2017 9: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby cnavarro » 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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby TimStone » 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
User avatar
TimStone
 
Posts: 2946
Joined: Fri Oct 07, 2005 1:45 pm
Location: Trabuco Canyon, CA USA

Re: New Menus clauses Wiki updated

Postby RAMESHBABU » Tue Jul 11, 2017 1:30 am

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
User avatar
RAMESHBABU
 
Posts: 626
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: New Menus clauses Wiki updated

Postby cnavarro » Tue Jul 11, 2017 6: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby cnavarro » Tue Jul 11, 2017 7: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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby ukoenig » Tue Jul 11, 2017 8: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.

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 :?:
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.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: New Menus clauses Wiki updated

Postby cnavarro » Tue Jul 11, 2017 9:27 am

Uwe, Send me a mail, please
Last edited by cnavarro on Tue Jul 11, 2017 9:40 am, edited 1 time in total.
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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby cnavarro » Tue Jul 11, 2017 9:39 am

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
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
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: New Menus clauses Wiki updated

Postby RAMESHBABU » Tue Jul 11, 2017 2:14 pm

Mr.Cristobal,

I sent you an email. Please check.

-Ramesh Babu
User avatar
RAMESHBABU
 
Posts: 626
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 63 guests