Re: [dabo-users] Tab-Index of UI-Objects?

Author: john

Posted: 2017-01-11 at 10:48:06

How did you create the UI form? Did you use the class designer?

Or did you manually create each of the controls - something like:

dabo.ui.dTextBox(self, RegID="CaseID",Width=225, DataSource =

'public.esenroll', DataField = 'caseno')

Normally, the order or tab order is set to match top to bottom and left

to right within a panel (and of course a sizer can also influence the

order). There is one property 'TabStop' True or False that is available.

That said, take a look at dDialog.py around line 365:

for pos, btn in enumerate(buttons[1:]):

btn.MoveAfterInTabOrder(buttons[pos-1])

The above is used for the class->_addControls.

Johnf

On 01/11/2017 08:26 AM, Max Voß wrote:

> Hello,

>

> is it possible to set a kind of tab-index in a dabo-Form?

>

> I have got a dPage-Object with a lot of dTextBoxes, dDropDownLists and

> so on but they appear in a different order on the Page than I want to

> step through them with the tabulator-key. The "tab-index" seems to

> depend only on the position on the Page. At least I have not found a

> corresponding property in the Object Inspector. Or did I just miss it?

>

> Thanks in advance for your anwsers,

>

> greetings Max

>

>

> _______________________________________________

> Post Messages to: Dabo-users@leafe.com

> Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users

> Searchable Archives: http://leafe.com/archives/search/dabo-users

> This message: http://leafe.com/archives/byMID/1484151990.2212.22.camel@optik-stahr.de

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/2b1596bb-dc87-f4ed-c942-258e11b88233@jfcomputer.com

©2017 john