Rebar question

Everything else that doesn't fall into one of the other PB categories.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Rebar question

Post by srod »

Hi,

I have a rebar in an application with 3 bands and I wouldn't mind starting the application each time and reinstating the bands relative positions etc. That is I want the app to memorise where the user has positioned each band etc. and reinstate them the next time the app is run.

I've looked at MSDN and all the messages / functions I can find, but nothing would seem to help. I can't even figure out how to force the rebar to position the bands into two rows for example.

Anyone know how to do this? I can set the individual band widths and determine the order of the bands as arranged by the user, but it's the multiple rows which is eluding me!

Thanks.

**EDIT : doh! Solved the multiple rows business - that's all I need. :)
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Rebar question

Post by ts-soft »

Some example here: http://www.purebasic.fr/german/viewtopi ... 25#p244925
(with german comments :) )

greetings
Thomas
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: Rebar question

Post by srod »

Excellent Thomas - just what I was looking for. That is really nice. I was thinking along those lines but would have made it far more complex!

Could you pass on my thanks to Andreas?

Thanks.
I may look like a mule, but I'm not a complete ass.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Rebar question

Post by ts-soft »

srod wrote:Could you pass on my thanks to Andreas?

Thanks.
I will do if he is online
Post Reply