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

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

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

Post by jgayoso »

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:
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

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

Post by Enrico Maria Giordano »

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

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

Post by jgayoso »

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
Post Reply