Tab Order after moving fields around

You need some new stunning features ? Tell us here.
johnorourke1351
User
User
Posts: 37
Joined: Sun Nov 02, 2014 6:23 pm
Location: Los Angeles

Tab Order after moving fields around

Post by johnorourke1351 »

Hi,
I'm new to Purebasic. I have a Windows 7 Ultimate operating system Version 6.1.7601 Service Pack 1 Build 7601
I am using purebasic 5.30 x64.

I have been designing a form with 4 colums and lots of text date and time fields. In the editing process , I removed fields and put some back in and this has apparently affected the tab order when I display the screen and start entering data which goes from top to bottom of the 1st column and then moves to the right to the 2nd column etc.. Instead the tab order seems to be in the order I created the fields. Is there a way to correct this or should I just reenter all of the fields again?

Thanks.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Tab Order after moving fields around

Post by Polo »

The tab order is in the order gadgets have been created. However, you can change this by drag and drop in the gadget list (which is in the form panel in the IDE).
Hope that helps!
johnorourke1351
User
User
Posts: 37
Joined: Sun Nov 02, 2014 6:23 pm
Location: Los Angeles

Re: Tab Order after moving fields around

Post by johnorourke1351 »

HI Polo
Thanks for the response. I clicked on the form panel and a variety of text and string names are displayed when i click to expand window0 objects. In that tree i can drag the date_pour field for example and it displays a small square box as i move it to the textfield i would like it to appear under but when I drop it nothing moves and the tab order doesn't change. Is this what you are referring to?

Thanks again.
johnorourke1351
User
User
Posts: 37
Joined: Sun Nov 02, 2014 6:23 pm
Location: Los Angeles

Re: Tab Order after moving fields around

Post by johnorourke1351 »

Surprise surprise: I find that 5.31 has addressed this problem with drag and drop of the created objects. Did you fix it? In any event, thanks for the information.

:lol:
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Tab Order after moving fields around

Post by Polo »

johnorourke1351 wrote:Surprise surprise: I find that 5.31 has addressed this problem with drag and drop of the created objects. Did you fix it? In any event, thanks for the information.

:lol:
Hi,

No, I haven't had time to work on the designer for this version unfortunately, but I'm glad it works now!
User avatar
SparrowhawkMMU
User
User
Posts: 56
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: Tab Order after moving fields around

Post by SparrowhawkMMU »

Hello,

I hope it's OK to tack my question onto this discussion as it is directly related.

I have PB 5.31 x64 (full version) on OS X 10.9.5 and I am unable to re-order the tab order as specified above

When I try to pick up an item in the objects list, it does nothing. Specifically:

I click and hold an item. I start to drag down and the item becomes unselected as the mouse moves off it - the next item becomes selected instead. The same thing happens if I try to move upwards from an item lower in the tab order

I have tried click-holding the icon and the name of the gadget - neither works

Am I doing this incorrectly? If not, is this a know OS X bug in 5.31? And if so is there a workaround for now?

Many thanks
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Tab Order after moving fields around

Post by Polo »

I think it's because drag and drop does not work anymore on OS X because of the move to Cocoa? Or maybe it's been fixed since?
User avatar
SparrowhawkMMU
User
User
Posts: 56
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: Tab Order after moving fields around

Post by SparrowhawkMMU »

Thanks for the reply polo. I don't suppose the next release could have keyboard shortcuts to move items up and down?

Shall I raise that as a feature request in a separate thread?
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Tab Order after moving fields around

Post by Polo »

SparrowhawkMMU wrote:Thanks for the reply polo. I don't suppose the next release could have keyboard shortcuts to move items up and down?

Shall I raise that as a feature request in a separate thread?
Best thing would be to have the drag and drop issue on OSX fixed, however as I understand it's quite complicated.
User avatar
SparrowhawkMMU
User
User
Posts: 56
Joined: Fri Jan 17, 2014 8:55 pm
Location: UK

Re: Tab Order after moving fields around

Post by SparrowhawkMMU »

That would be best yes.

In the meantime though, would it be a very difficult change to implement keyboard shortcuts? At the moment unfortunately I cannot really use the form designer as my forms tabbing is all over the place. And I really like the form designer so it's a pity.

Thinking about it, I suppose I could switch to code view and move stuff around there but that risks moving a control to after a reference to it perhaps? I'll try that when I get home - I'm not sure whether this is feasible.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Re: Tab Order after moving fields around

Post by Polo »

If you move carefully the controls (and its children) you shouldn't lose anything - do a back up first!
I suppose I could put a right click menu with Move up/down, not too keen on adding a keyboard shortcut I have to say.
Post Reply