Search the web
Sign In
New User? Sign Up
rxmui · Discussion about RxMUI, the MUI/Guis library for ARexx.
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
xGet() reports wrong disabled value   Message List  
Reply | Forward Message #1744 of 1832 |
I reported this problem a few weeks ago (for RxMUI 42.2), but my message
apparently never reached the list. Here's another try.

In the attached example the cycle gadget is created disabled, but xGet()
reports its disabled value as false.

RxMUI 42.3, MUI 3.8, AmigaOS 3.9 + BoingBags 1 & 2, A4000/040

Kind regards,
--
Robert A. Sisk
sisk637@...


Thu Sep 27, 2007 9:18 pm

rsisk2003
Offline Offline
Send Email Send Email

/* $VER: DemoDisabled 1.0 (6.9.2007)
*/
App.Description='Demo'
App.Copyright ='© 2007 by Robert A. Sisk'

App.Title=word(SourceLine(1),3)
App.Base=App.Title

call AddLib 'rmh.library',0,-30
if RMH_AddLibrary('rxmui.library')>0 then do
call RMH_EasyRequest "Can't open" result,App.Title,'Exit'
signal Exit
end

App.Author=SubWord(App.Copyright,find(App.Copyright,'by')+1)
App.SingleTask=1
App.Version=SubWord(SourceLine(1),2)
App.SubWindow='MainWindow'
MainWindow.ID='Main'
MainWindow.Title=App.Title
Cycle.Disabled=1
MainWindow.Contents=MakeObj(,'VGroup',MakeObj('Cycle','Cycle','x'))
if NewObj('Application','App')>0 then
signal Exit

SigBreakB_Ctrl_C=12
BreakCSignal=2**SigBreakB_Ctrl_C

call notify 'MainWindow','CloseRequest',1,'App','ReturnID','Quit'

say xGet('Cycle','Disabled')

call set 'MainWindow','Open',1
if ~xGet('App','Iconified') then
if ~xGet('MainWindow','Open') then do
call MUIRequest 'App',,App.Title,'_Exit',"Can't open main window"
signal Exit
end

do forever
call NewHandle 'App','Event',BreakCSignal
if RMH_And(Event.Signals,BreakCSignal)>0 then
call Quit
interpret 'call' Event.Event
end

Quit:
Exit:
exit


Forward
Message #1744 of 1832 |
Expand Messages Author Sort by Date

I reported this problem a few weeks ago (for RxMUI 42.2), but my message apparently never reached the list. Here's another try. In the attached example the...
Robert A. Sisk
rsisk2003
Offline Send Email
Sep 27, 2007
8:20 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help