Page 1 of 1

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

Posted: Mon Nov 08, 2010 7:04 pm
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:

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

Posted: Tue Nov 09, 2010 7:56 am
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

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

Posted: Tue Nov 09, 2010 7:46 pm
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