Error Base/1004 Class: 'Numeric' has no exported method: LFO

Error Base/1004 Class: 'Numeric' has no exported method: LFO

Postby jgayoso » Mon Nov 08, 2010 7:04 pm

Tengo el siguiente código:

Procedure prueba()
local testvar
@ 1, 50 prompt 'Menu Item 1' message 'Menu Message 1'
@ 2, 50 prompt 'Menu Item 2' message 'Menu Message 2'
@ 3, 50 prompt 'Menu Item 3' message 'Menu Message 3'
@ 4, 50 prompt 'Menu Item 4' message 'Menu Message 4'
menu to testvar
@ 7, 10 say 'Press F8 to recurse into MENU TO'
@ 9, 50 say 'Your Choice = ' + str( testvar, 1 )
Return

Al llegar a linea "menu to testvar" da el siguiente error:

Error Base/1004 Class: 'Numeric' has no exported method: LFOCUSED"

Se agradece cualquier ayuda. :oops:
jgayoso
 
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile

Re: Error Base/1004 Class: 'Numeric' has no exported method: LFO

Postby Enrico Maria Giordano » Tue Nov 09, 2010 7:56 am

You can't use MENU TO command as it is a CUI command and is not supported by Fivewin. Use MENU or MENU ... POPUP command instead (look at the samples).

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8711
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Error Base/1004 Class: 'Numeric' has no exported method: LFO

Postby jgayoso » Tue Nov 09, 2010 7:46 pm

Gracias Enrico... ya encontre el error y estaba entre el teclado y la silla.

Muchas gracias...

Enrico Maria Giordano wrote:You can't use MENU TO command as it is a CUI command and is not supported by Fivewin. Use MENU or MENU ... POPUP command instead (look at the samples).

EMG
jgayoso
 
Posts: 170
Joined: Sat Aug 07, 2010 11:36 pm
Location: Chile


Return to FiveWin for Harbour/xHarbour

Who is online

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