G
Guest
Hello,
Here is my table.
ToolBar=1
StatusBar=2
MenuBar=4
CaptionBar=8
And, if users type 1, only ToolBar visiable, if they type 6, StatusBar and
MenuBar should be visible, and so on. I should write my code in a way that it
should work even if there are more options. What is the easiest and best way
to write to decode this and find which bars should be visible?
Thanks,
Jim.
Here is my table.
ToolBar=1
StatusBar=2
MenuBar=4
CaptionBar=8
And, if users type 1, only ToolBar visiable, if they type 6, StatusBar and
MenuBar should be visible, and so on. I should write my code in a way that it
should work even if there are more options. What is the easiest and best way
to write to decode this and find which bars should be visible?
Thanks,
Jim.