Re: [dabo-users] Tab-Index of UI-Objects?
On Jan 11, 2017, at 10:24 AM, Max Voßwrote: > is it possible to set a kind of tab-index in a dabo-Form? Sorry, just got around to cleaning out the spam filters, and let this through a week late. I've been busy. :) -- Ed Leafe ___ 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/b40b2c4f-957e-49b5-a85d-0f91b8f3c...@leafe.com
Re: [dabo-users] Tab-Index of UI-Objects?
I'm not leaving Django. I have had great success with Django. I see no reason to leave Django. Django works with almost anything I've come across - that includes Angular, React, etc.. BTW check out 'vue'. I am moving to Electron for desktop applications - only. Don't get me wrong Dabo is more than functional. It's just that Dabo's UI is based on wxPython and wxPython is preventing Dabo from moving forward and the use of python 3.x. Python 2.7.x is fine but most folks are moving forward to 3.x. Also wxPython (even Phoenix) is not adding any bells and whistles where as CSS is allowing so many in the web world. Honestly, I'm not to sure about Electron's future. It is using Chrome and I know that is not going away anytime soon. But I have to be concerned that Google might drop support due to lack of general interest in desktop apps. I was at first concerned with the size of an Electron app. But I realized that as I added pages the size did not change much. Performance is good if not better than Dabo on the desktop. So there is a lot to like. As far as NodeJS - well I like the fact that it is well supported by the community - but so is Django. I don't believe NodeJS's asynchronous I/O is faster than Django when comes to serving data - at least not for small websites. So I wouldn't leave Django for NodeJS. Johnf On 01/13/2017 08:17 AM, Henning Hraban Ramm wrote: Am 2017-01-13 um 17:01 schrieb john: To be honest I believe I will soon will be moving on to Electron (uses html,css,JavaScript, Chrome, NodeJS to create the ui for a desktop app). I hear you – for web apps I’m leaving my beloved Python/Django behind for Meteor/Angular (i.e. also node.js). Greetlings, Hraban ___ 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/7745db9c-617a-43ba-b85c-7e46d832a...@fiee.net ___ 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/4b4f07e6-c7cb-16ef-c67a-a4c2559b9...@jfcomputer.com
Re: [dabo-users] Tab-Index of UI-Objects?
Am 2017-01-13 um 17:01 schrieb john: > To be honest I believe I will soon will be moving on to Electron (uses > html,css,JavaScript, Chrome, NodeJS to create the ui for a desktop app). I hear you – for web apps I’m leaving my beloved Python/Django behind for Meteor/Angular (i.e. also node.js). Greetlings, Hraban ___ 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/7745db9c-617a-43ba-b85c-7e46d832a...@fiee.net
Re: [dabo-users] Tab-Index of UI-Objects?
Personally I don't use Class Designer or a .cdxml file. I find it very easy to manually create the form. I guess I started doing because in the beginning the Class Designer was not easy to work with - especially try to add a new control or to move one. So today I just move the control's code to the order I want and location required by the task. I too like the dGridSizer. I use it all the time and it has helped me with spacing, sizing, and positions of the controls within a panel. Today the only issue I have with Dabo is the fact that wxPython does not have a stable version that supports python 3.x. Of course that's not Dabo's fault. To be honest I believe I will soon will be moving on to Electron (uses html,css,JavaScript, Chrome, NodeJS to create the ui for a desktop app). Johnf On 01/13/2017 01:26 AM, Max Voß wrote: Hi Johnf, thanks for your reply. In my last message I completely messed up the indeces, so please it ignore it, it will only confuse you here is the correct version. Am Mittwoch, den 11.01.2017, 08:48 -0800 schrieb john: 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') Well, I have chosen a third way. I manualy created a .cdxml-File (without the class designer, since my Form is huge and I don't like what it does to my .cdxml) that looks like this: (I stripped it down to the essentials for readability) ... ... ... This results in the TabOrder sph_r,sph_l,cyl_r,cyl_l,... But I want sph_r,cyl_r,ach_r,...,sph_l,cyl_l,... 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). Ok, maybe I can rearange my textfields and put all *_r fields in one dSizer and *_l fields in a second one. - To bad I really liked the dGridSizer. There is one property 'TabStop' True or False that is available. That I have found, but it is no use to me in my situation, since I want TabStop but just a different order. 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/6bb440d3-c863-4968-f573-12a4ad9cb...@jfcomputer.com
Re: [dabo-users] Tab-Index of UI-Objects?
Hi Johnf, thanks for your reply. In my last message I completely messed up the indeces, so please it ignore it, it will only confuse you here is the correct version. Am Mittwoch, den 11.01.2017, 08:48 -0800 schrieb john: > 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') > Well, I have chosen a third way. I manualy created a .cdxml-File (without the class designer, since my Form is huge and I don't like what it does to my .cdxml) that looks like this: (I stripped it down to the essentials for readability) ... ... ... This results in the TabOrder sph_r,sph_l,cyl_r,cyl_l,... But I want sph_r,cyl_r,ach_r,...,sph_l,cyl_l,... > 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). Ok, maybe I can rearange my textfields and put all *_r fields in one dSizer and *_l fields in a second one. - To bad I really liked the dGridSizer. > There is one property 'TabStop' True or False that is available. That I have found, but it is no use to me in my situation, since I want TabStop but just a different order. > > 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 > > -- Max Voß max.v...@optik-stahr.de Optik Stahr GmbH Stephansgasse 22 67547 Worms Tel: +49 (0) 6241/23369 Fax: +49 (0) 6241/9796079 E-Mail: i...@optik-stahr.de Webseite: www.optik-stahr.de Geschäftsführer: Eberhard Voß eberhard.v...@optik-stahr.de Handelsregister Worms HRB 360 USt-IdNr.: DE 149 959 800 ___ 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/1484299562..26.ca...@optik-stahr.de
Re: [dabo-users] Tab-Index of UI-Objects?
Hi Johnf, thanks for your reply. Am Mittwoch, den 11.01.2017, 08:48 -0800 schrieb john: > 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') > Well, I have chosen a third way. I manualy created a .cdxml-File (without the class designer, since my Form is huge and I don't like what it does to my .cdxml) that looks like this: (I stripped it down to the essentials for readability) ... ... ... This results in the TabOrder sph_r,sph_l,cyl_r,cyl_l,... But I want sph_r,cyl_r,ach_r,...,sph_l,cyl_l,... > 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). Ok, maybe I can rearange my textfields and put all *_r fields in one dSizer and *_l fields in a second one. - To bad I really liked the dGridSizer. > There is one property 'TabStop' True or False that is available. That I have found, but it is no use to me in my situation, since I want TabStop but just a different order. > > 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/1484299019..22.ca...@optik-stahr.de
Re: [dabo-users] Tab-Index of UI-Objects?
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.ca...@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-258e11b88...@jfcomputer.com