It is currently Fri Jun 22, 2018 1:00 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: OptionGadget - Tab bug
PostPosted: Sun Feb 26, 2017 10:56 pm 
Offline
Addict
Addict

Joined: Wed Nov 12, 2008 5:01 pm
Posts: 997
Location: Russia
Code:
  If OpenWindow(0, 0, 0, 140, 130, "OptionGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    OptionGadget(0, 30, 20, 60, 20, "Option 1")
    OptionGadget(1, 30, 45, 60, 20, "Option 2")
    OptionGadget(2, 30, 70, 60, 20, "Option 3")
    ;SetGadgetState(1, 1)   ; set second option as active one
   
    ButtonGadget(3, 30, 100, 80, 24, "Button")
       
    Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
  EndIf
If do not select any OptionGadget moving the focus key Tab works fine. But if mark any OptionGadget, key Tab It does not move the focus to not marked OptionGadget.

_________________
Library XP_Menu_Lib - office menu; HID_Lib - USB Library
Torrent client - pbTorrent (source code); Create driver in PureBasic.


Top
 Profile  
Reply with quote  
 Post subject: Re: OptionGadget - Tab bug
PostPosted: Sun Feb 26, 2017 11:09 pm 
Offline
Addict
Addict
User avatar

Joined: Tue Mar 21, 2006 12:31 am
Posts: 1773
Location: Canada
Having shared experiences w/PB 5.44LTS

_________________
ʽʽSuccess is almost totally dependent upon drive and persistence. The extra energy required to make another effort or try another approach is the secret of winning.ʾʾ --Dennis Waitley


Top
 Profile  
Reply with quote  
 Post subject: Re: OptionGadget - Tab bug
PostPosted: Mon Feb 27, 2017 7:23 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Jul 19, 2013 7:36 am
Posts: 152
Location: Novosibirsk
Code:
If OpenWindow(0, 0, 0, 170, 200, "OptionGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
 
  OptionGadget(0, 30, 20, 60, 20, "Option 1")
  OptionGadget(1, 30, 45, 60, 20, "Option 2")
  OptionGadget(2, 30, 70, 60, 20, "Option 3")
  SetGadgetState(1, 1)
 
  CheckBoxGadget(3, 30,  95, 80, 20, "CheckBox 1")
  CheckBoxGadget(4, 30, 120, 80, 20, "CheckBox 2")
  CheckBoxGadget(5, 30, 145, 80, 20, "CheckBox 3")
 
  ButtonGadget(6, 30, 170, 80, 24, "Button")
 
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf

OptionGadget is a group and the behavior of the normal tab. But it is not normal behavior of the arrows up/down and space within the group

_________________
Dawn will come inevitably.
His (http://translate.yandex.ru/) English is not as good as we would like
If the English text is not correct, please correct me in private message


Top
 Profile  
Reply with quote  
 Post subject: Re: OptionGadget - Tab bug
PostPosted: Sat Mar 18, 2017 6:54 am 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Fri Oct 06, 2006 4:41 am
Posts: 606
Location: Canada
Confirmed.
Once an option button has been selected, you can no longer move to another one using the keyboard.

_________________
"That's not a bug..." said the programmer. "...It's a feature! "
"Oh! I see..." replied the blind man.


Last edited by Blue on Tue Sep 05, 2017 10:27 am, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: OptionGadget - Tab bug
PostPosted: Tue Aug 01, 2017 6:15 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13304
Location: France
Fixed.


Top
 Profile  
Reply with quote  
 Post subject: Re: [Done] OptionGadget - Tab bug
PostPosted: Sun Jan 07, 2018 5:23 pm 
Offline
Administrator
Administrator

Joined: Fri May 17, 2002 4:39 pm
Posts: 13304
Location: France
Unfortunately, the fix raised another issue (http://www.purebasic.fr/english/viewtopic.php?p=515787#p515787) so it has been reverted.


Top
 Profile  
Reply with quote  
 Post subject: Re: OptionGadget - Tab bug
PostPosted: Sun Jan 07, 2018 9:57 pm 
Offline
Enthusiast
Enthusiast
User avatar

Joined: Sat May 05, 2007 5:31 pm
Posts: 449
Location: Linz, Austria
Fred wrote:
Unfortunately, the fix raised another issue (posting.php?mode=edit&f=4&p=515787) so it has been reverted.
correct link: http://www.purebasic.fr/english/viewtopic.php?p=515787#p515787


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye