Página 1 de 1

Toolbars

Publicado: Jue Oct 30, 2008 2:52 am
por Nick Hilder
G,day
I have been trying to create a proto type touch screen application for one
of my customers.
I have been having all sorts of fun with the Rebar control in the IDE.
Basically I'm trying to put some really big button in a toolbar. I tried a
normal one but couldn't get the toolbar to size correctly.
I then changed to a Rebar, but now I can't get the buttons into the same
section.
Here's what I have so far
http://www.capsol.com.au/toolbar.jpg
As you can see, there is a gripper between each button, which I don;t want.
The right hand button grows according to the form, which I don't want.
I 'm not even sure that the Rebar is the correct control for what I want to
do. Basically I need a toolbar where i can hide and display sections,
enabling and disabling buttons. The buttons need to be big
If you can tell me which controls I should use, that will help alot.
Thanks Nick

Toolbars

Publicado: Jue Oct 30, 2008 7:47 am
por Ingo JH
Nick,
try it by placing the toolbars on bevels. See the sample.
I do it this way.
Regards
Ingo
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> schrieb im Newsbeitrag
news:4909134d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> G,day
>
> I have been trying to create a proto type touch screen application for one
> of my customers.
>
> I have been having all sorts of fun with the Rebar control in the IDE.
>
> Basically I'm trying to put some really big button in a toolbar. I tried a
> normal one but couldn't get the toolbar to size correctly.
>
> I then changed to a Rebar, but now I can't get the buttons into the same
> section.
>
> Here's what I have so far
>
> http://www.capsol.com.au/toolbar.jpg
>
> As you can see, there is a gripper between each button, which I don;t
> want. The right hand button grows according to the form, which I don't
> want.
>
> I 'm not even sure that the Rebar is the correct control for what I want
> to do. Basically I need a toolbar where i can hide and display sections,
> enabling and disabling buttons. The buttons need to be big
>
> If you can tell me which controls I should use, that will help alot.
>
> Thanks Nick
>
--

Attached files test75.zip (3.7 KB)Â

Toolbars

Publicado: Jue Oct 30, 2008 7:47 am
por Ingo JH
Nick,
try it by placing the toolbars on bevels. See the sample.
I do it this way.
Regards
Ingo
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> schrieb im Newsbeitrag
news:4909134d$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> G,day
>
> I have been trying to create a proto type touch screen application for one
> of my customers.
>
> I have been having all sorts of fun with the Rebar control in the IDE.
>
> Basically I'm trying to put some really big button in a toolbar. I tried a
> normal one but couldn't get the toolbar to size correctly.
>
> I then changed to a Rebar, but now I can't get the buttons into the same
> section.
>
> Here's what I have so far
>
> http://www.capsol.com.au/toolbar.jpg
>
> As you can see, there is a gripper between each button, which I don;t
> want. The right hand button grows according to the form, which I don't
> want.
>
> I 'm not even sure that the Rebar is the correct control for what I want
> to do. Basically I need a toolbar where i can hide and display sections,
> enabling and disabling buttons. The buttons need to be big
>
> If you can tell me which controls I should use, that will help alot.
>
> Thanks Nick
>
--

Attached files test75.zip (3.7 KB)Â

Toolbars

Publicado: Jue Oct 30, 2008 10:19 am
por jfgimenez
Nick,
you may use a regular toolbar and change the nBtnHeight and nBtnWidth
properties to the desired size. See the attached sample.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info


Attached files BigToolbar.zip (1.8 KB)Â

Toolbars

Publicado: Jue Oct 30, 2008 10:19 am
por jfgimenez
Nick,
you may use a regular toolbar and change the nBtnHeight and nBtnWidth
properties to the desired size. See the attached sample.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info


Attached files BigToolbar.zip (1.8 KB)Â

Toolbars

Publicado: Jue Oct 30, 2008 11:20 pm
por Nick Hilder
Howdy
Thanks for the examples
I don't think I can use a regular toolbar because I want to use the TBtnBMP
control. I can't put one of them on a toolbar.
I had some success with the bevel, I can then place btbbmp buttons on each
bevel.
I would be easier though is I could add them and not have to worry about
positioning, like you can with a toolbar button.
Any other suggestions welcomed.
I want to use the tbtnbmp control because I can use the Normal, Hot, Pushed
and Disabled images without having to code each one
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=49097c10@ozsrv2.ozlan.local...]49097c10@ozsrv2.ozlan.local...[/email]
> Nick,
>
> you may use a regular toolbar and change the nBtnHeight and nBtnWidth
> properties to the desired size. See the attached sample.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>

Toolbars

Publicado: Jue Oct 30, 2008 11:20 pm
por Nick Hilder
Howdy
Thanks for the examples
I don't think I can use a regular toolbar because I want to use the TBtnBMP
control. I can't put one of them on a toolbar.
I had some success with the bevel, I can then place btbbmp buttons on each
bevel.
I would be easier though is I could add them and not have to worry about
positioning, like you can with a toolbar button.
Any other suggestions welcomed.
I want to use the tbtnbmp control because I can use the Normal, Hot, Pushed
and Disabled images without having to code each one
Nick
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=49097c10@ozsrv2.ozlan.local...]49097c10@ozsrv2.ozlan.local...[/email]
> Nick,
>
> you may use a regular toolbar and change the nBtnHeight and nBtnWidth
> properties to the desired size. See the attached sample.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
> http://www.xailer.info
>
>

Toolbars

Publicado: Vie Oct 31, 2008 9:53 am
por ignacio
Nick,
Then, put all TBtnBmp controls inside of a TBevel control and the TBevel
control inside the TRebar
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=490a334f@ozsrv2.ozlan.local...]490a334f@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Thanks for the examples
>
> I don't think I can use a regular toolbar because I want to use the
> TBtnBMP control. I can't put one of them on a toolbar.
>
> I had some success with the bevel, I can then place btbbmp buttons on each
> bevel.
>
> I would be easier though is I could add them and not have to worry about
> positioning, like you can with a toolbar button.
>
> Any other suggestions welcomed.
>
> I want to use the tbtnbmp control because I can use the Normal, Hot,
> Pushed and Disabled images without having to code each one
>
> Nick
>
>
> "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> news:[email=49097c10@ozsrv2.ozlan.local...]49097c10@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> you may use a regular toolbar and change the nBtnHeight and nBtnWidth
>> properties to the desired size. See the attached sample.
>>
>> --
>> Regards,
>>
>> Jose F. Gimenez
>> http://www.xailer.com
>> http://www.xailer.info
>>
>>
>
>

Toolbars

Publicado: Vie Oct 31, 2008 9:53 am
por NoName
Nick,
Then, put all TBtnBmp controls inside of a TBevel control and the TBevel
control inside the TRebar
Regards,
--
Ignacio Ortiz de Zúñiga
[Soporte Xailer]
[Xailer support]
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:[email=490a334f@ozsrv2.ozlan.local...]490a334f@ozsrv2.ozlan.local...[/email]
> Howdy
>
> Thanks for the examples
>
> I don't think I can use a regular toolbar because I want to use the
> TBtnBMP control. I can't put one of them on a toolbar.
>
> I had some success with the bevel, I can then place btbbmp buttons on each
> bevel.
>
> I would be easier though is I could add them and not have to worry about
> positioning, like you can with a toolbar button.
>
> Any other suggestions welcomed.
>
> I want to use the tbtnbmp control because I can use the Normal, Hot,
> Pushed and Disabled images without having to code each one
>
> Nick
>
>
> "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> news:[email=49097c10@ozsrv2.ozlan.local...]49097c10@ozsrv2.ozlan.local...[/email]
>> Nick,
>>
>> you may use a regular toolbar and change the nBtnHeight and nBtnWidth
>> properties to the desired size. See the attached sample.
>>
>> --
>> Regards,
>>
>> Jose F. Gimenez
>> http://www.xailer.com
>> http://www.xailer.info
>>
>>
>
>

Toolbars

Publicado: Vie Oct 31, 2008 10:08 am
por jfgimenez
Nick,
> I want to use the tbtnbmp control because I can use the Normal, Hot,
> Pushed and Disabled images without having to code each one
Toolbar buttons have also normal, hot and disabled images. There are no
images for pushed state, but the buttons themself have a property lChecked
that is similar to 'pushed'.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

Toolbars

Publicado: Vie Oct 31, 2008 10:08 am
por jfgimenez
Nick,
> I want to use the tbtnbmp control because I can use the Normal, Hot,
> Pushed and Disabled images without having to code each one
Toolbar buttons have also normal, hot and disabled images. There are no
images for pushed state, but the buttons themself have a property lChecked
that is similar to 'pushed'.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info