FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour VSX development update
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
VSX development update
Posted: Thu Jan 10, 2008 12:42 AM

Tim,

>) The tab order is decided by the order of the controls in the .RC file. I was able to make sure all dialogs now have proper tab order which will be quite pleasing to my clients.

True, but Workshop has a button that allows you to specify the order of the controls by just clicking each one in the tab order that you want. Simple!

The button is labeld, "1,2"

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Tab Order
Posted: Thu Jan 10, 2008 01:08 AM

True ...

But I ran into issues with Workshop and stopped using it ...on my Vista 'puter

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
VSX development update
Posted: Thu Jan 10, 2008 10:01 AM
James Bott wrote:True, but Workshop has a button that allows you to specify the order of the controls by just clicking each one in the tab order that you want. Simple!


I find it not so simple if you want to change the tab order of just one control on a dialog with many controls. You have to start from the first one each time.

EMG
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
VSX development update
Posted: Thu Jan 10, 2008 04:59 PM

Enrico,

>I find it not so simple if you want to change the tab order of just one control on a dialog with many controls. You have to start from the first one each time.

Well it is tedious, but I don't know how you could change the order of just one control--normally you have to change all the controls after the one. Perhaps you are thinking that it would be nice if you could insert a new control and have all the others automatically moved back one place. That would be nice.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Order of controls
Posted: Thu Jan 10, 2008 05:06 PM

Thats the point. Yesterday I looked at a dialog with about 50 controls. Only one is out of order. I went to the .RC file, took the 1 out of order and simply placed it where it should be. Took about 10 seconds to find, highlight, drag and drop ... using MultiEdit on the source file.

I also decided to change some button sizes and positions. So using he editor I could quickly change the numbers and because it was a repetitive task over about 50 controls, using the overwrite capability, I simply used arrows and buttons to do it very quickly. In a resource editor, that would have taken a long time changing the Properties on each control.

I use this for fine tuning dialogs. For a new dialog, I create it in Pelles, then copy the source into my primary .rc file. All further adjustments are then done with the text editor.

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
VSX development update
Posted: Thu Jan 10, 2008 05:21 PM

Tim,

>I also decided to change some button sizes and positions. ... In a resource editor, that would have taken a long time changing the Properties on each control.

I almost always use standard button sizes, so I rarely would change them. Since buttons usually occur in colomns or rows, you can move the location of the entire column or row in one step in Workshop.

I can see how it would be easier to insert one control in a tab sequence using an editor.

There is no doubt some things are easier in a visual designer and some are easier in code.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Order of controls
Posted: Thu Jan 10, 2008 06:24 PM
TimStone wrote:Thats the point. Yesterday I looked at a dialog with about 50 controls. Only one is out of order. I went to the .RC file, took the 1 out of order and simply placed it where it should be. Took about 10 seconds to find, highlight, drag and drop ... using MultiEdit on the source file.


Great! I was not aware of that way. I will surely use it next time. :-)

Thank you!

EMG
Posts: 6983
Joined: Fri Oct 07, 2005 07:07 PM
VSX development update
Posted: Thu Jan 10, 2008 07:18 PM
Only a little hint. Sometimes I use EXCEL to open the rc and also the VRD files.
So the columns are displayed very well.
Regards,
Otto
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 3022
Joined: Fri Oct 07, 2005 01:45 PM
Editing controls
Posted: Thu Jan 10, 2008 08:14 PM

James,

I'm not against the resource editors. I do use them for layout and design work.

I used buttons because BTNBMP can be used for some interesting features, and there is no "standard size".

Tim

Tim Stone
http://www.MasterLinkSoftware.com
http://www.autoshopwriter.com
timstone@masterlinksoftware.com
Using: FWH 23.10 with Harbour 3.2.0 / Microsoft Visual Studio Community 2022-24 32/64 bit
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
VSX development update
Posted: Fri Jan 11, 2008 12:16 AM

Tim,

>...and there is no "standard size".

Well it is not cast in stone, but Workshop creates the same size buttons by default as are used in most Microsoft applications. Microsoft pretty much dictates the standards, intentionally or not.

It is also easier not to change the default size.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
VSX development update
Posted: Fri Jan 11, 2008 12:29 AM

Well, FYI I have been two full days working on VSX.

But no luck yet for what we are looking for,

If someone is interested in getting some guidance for testing, just say it :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2706
Joined: Fri Oct 07, 2005 01:50 PM
VSX development update
Posted: Fri Jan 11, 2008 01:10 AM

Antonio

I applaud you for your tenacity !! I think VSX may be a viable answer but needs to mature a bit more .. The concept is commendable and it may still work as more and more people ( like yourself ) start sending Microsoft their feedback.

Rick Lipkin

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
VSX development update
Posted: Fri Jan 11, 2008 01:42 AM

Rick,

I got it :-)

Please see my new post

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion