On the ribbon I saw the method disable() or enable() of rbtn class not work correctly
any idea ?
Best Regards, Saludos
Falconi Silvio
Falconi Silvio
On the ribbon I saw the method disable() or enable() of rbtn class not work correctly
any idea ?
#include "fivewin.ch"
#include "ribbon.ch"
FUNCTION Main()
local oWnd
local oBtn1, oBtn2, oBtn3
DEFINE WINDOW oWnd TITLE "Testing Ribbon Button"
@ 10, 10 RBBTN oBtn1 PROMPT "Button 1" SIZE 120,20 BORDER ROUND ;
ACTION oBtn2:Disable()
@ 40, 10 RBBTN oBtn2 PROMPT "Button 2" SIZE 120,20 BORDER ROUND;
ACTION MsgInfo( "button 2" )
@ 70, 10 RBBTN oBtn3 PROMPT "Button 3" SIZE 120,20 BORDER ROUND;
ACTION oBtn2:Enable() WHEN ! oBtn2:lActive
ACTIVATE WINDOW oWnd
return nilHello Silvio
Could you provide a small and self contained example to reproduce it ? thanks
oK
i FOUND THE ERRROR
i MADE A same VARIABLE PUBLIC, DATA AND LOCAL .
Sorry..