Search found 36 matches: setprompt

Return to advanced search

Re: FUNCION XEDIT DE FWH

... FROM CUSTOMER" )   oRec  := FW_Record():New( oRs )   oRec:Edit()   oRec:SetPrompt( { { "first", "Name" }, { "Last", "Surname" }, ;      ...
by nageswaragunupudi
Thu Feb 04, 2021 1:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: FUNCION XEDIT DE FWH
Replies: 5
Views: 631

Re: Menuitem error with SetPrompt - Solved

For me is OK :D

Antonio , can you take a look at :
viewtopic.php?f=3&t=28844#p162156

Thanks
Maurizio
http://www.nipeservice.com
by Maurizio
Mon Jul 14, 2014 8:17 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt - Solved

Maurizio, This example is working fine here: #include "FiveWin.ch"#define MF_ENABLED       0#define MF_GRAYED        1#define MF_DISABLED      2#define MF_BITMAP        4#define MF_CHECKED       8#define M...
by Antonio Linares
Sun Jul 13, 2014 6:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt - Solved

Maurizio,

Reviewing it... thanks :-)
by Antonio Linares
Thu Jul 10, 2014 3:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt - Solved

Antonio , Error description: Error BASE/1066 Argument error: conditional TMENUITEM:SETPROMPT( 349 ) If( ::oMenu != nil .and. ( ::oMenu:l2007 .OR. ::oMenu:L2010 ), MF_OWNERDRAW, 0 ) ) because l2007 amd l2010 are nil. #include "FiveWin.ch"#define MF_ENABLED ...
by Maurizio
Thu Jul 10, 2014 2:37 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt - Solved

Maurizio,

What error you get ?
by Antonio Linares
Thu Jul 10, 2014 1:49 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt - Solved

Thank Antonio ,
my fault , :wink:

just a question , why

? oMenu:GetMenuItem(ID_TEST):cCaption --->>> About ResMenu Test...


oMenu:GetMenuItem(ID_TEST):cCaption := "FWH power " ERROR

Regards MAurizio
by Maurizio
Thu Jul 10, 2014 7:54 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

... ACTION oWnd:End()   REDEFINE MENUITEM ID ID_DELETE OF oMenu ACTION MsgInfo( "ok: Delete" )   oItem2:SetPrompt( "FWH power" )return oMenu
by Antonio Linares
Wed Jul 09, 2014 6:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

Maurizio,

Not a very good quality photo but it is there :-)

Image
by Antonio Linares
Wed Jul 09, 2014 6:22 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

Maurizio,

Here it is working fine.

Have you properly implemented the changes that I told you ? Please check them.
by Antonio Linares
Wed Jul 09, 2014 6:15 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

...  REDEFINE MENUITEM ID ID_DELETE OF oMenu ACTION MsgInfo( "ok: Delete" )         oItem2:SetPrompt( "Cambiado" )return oMenu//----------------------------------------------------------------------------//   
by Maurizio
Wed Jul 09, 2014 4:35 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

The error comes from here: If( ::oMenu != nil .and. ( ::oMenu:l2007 .OR. ::oMenu:L2010 ), MF_OWNERDRAW, 0 ) ) because l2007 amd l2010 are nil. With the change for Class TMenu Method Redefine(): ::l2007 = .F. // new ::l2010 = .F. // new those datas are logical and there is no error.
by Antonio Linares
Wed Jul 09, 2014 4:10 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

Maurizio,

Have you modified both the menu.ch and the menu.prg ? Here it works with no error.

Anyhow, if you send me your menu RC portion, I build it here and send you a screenshot.
by Antonio Linares
Wed Jul 09, 2014 4:05 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

Antonio , same error , I think that the error is in METHOD SetPrompt( cPrompt ) CLASS TMenuItem If( ::oMenu != nil .and. ( ::oMenu:l2007 .OR. ::oMenu:L2010 ), MF_OWNERDRAW, 0 ) ) if I exclude all works /* nFlags := nOR( If( ::lActive, MF_ENABLED,; nOR( ...
by Maurizio
Wed Jul 09, 2014 1:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793

Re: Menuitem error with SetPrompt

Maurizio, Several changes are required in order to fix this FWH bug. First menu.ch has to be changed like this: In menu.ch: #xcommand REDEFINE MENUITEM [ <oMenuItem> ] ;             [ PROMPT <cPrompt> ] ;         ...
by Antonio Linares
Wed Jul 09, 2014 1:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Menuitem error with SetPrompt - Solved
Replies: 17
Views: 5793
Next

Return to advanced search