How to Create a toolbar buttons, without writing the source code for the same.
As we can use the controls on the form for desiging the same. Toolbar can
also be created. If yes, what is the source code.
As i am a novice programmer i dont know how to use the same.
I do not want to write the code for creating the cmd buttons.

Re: Toolbar by Stefan

Stefan
Fri Dec 03 06:11:14 CST 2004


You can create toolbars "visually" in the class designer (very
similar to the form designer).


hth
-Stefan

"Bankim Desai" <BankimDesai@discussions.microsoft.com> schrieb im Newsbeitrag
news:C7765922-5390-4193-B2B6-8B91AF9F6B35@microsoft.com...
> How to Create a toolbar buttons, without writing the source code for the same.
> As we can use the controls on the form for desiging the same. Toolbar can
> also be created. If yes, what is the source code.
> As i am a novice programmer i dont know how to use the same.
> I do not want to write the code for creating the cmd buttons.
>


Re: Toolbar by BankimDesai

BankimDesai
Fri Dec 03 08:15:04 CST 2004

What is the command please.
As in Form we can run 'Crea Form' or ' Modi Form'

thank u.

"Stefan Wuebbe" wrote:

>
> You can create toolbars "visually" in the class designer (very
> similar to the form designer).
>
>
> hth
> -Stefan
>
> "Bankim Desai" <BankimDesai@discussions.microsoft.com> schrieb im Newsbeitrag
> news:C7765922-5390-4193-B2B6-8B91AF9F6B35@microsoft.com...
> > How to Create a toolbar buttons, without writing the source code for the same.
> > As we can use the controls on the form for desiging the same. Toolbar can
> > also be created. If yes, what is the source code.
> > As i am a novice programmer i dont know how to use the same.
> > I do not want to write the code for creating the cmd buttons.
> >
>
>

Re: Toolbar by Stefan

Stefan
Fri Dec 03 08:29:36 CST 2004


I see. That would be like
CREATE CLASS myToolbar OF myLib.vcx as Toolbar


hth
-Stefan

"Bankim Desai" <BankimDesai@discussions.microsoft.com> schrieb im Newsbeitrag
news:6A421ECC-2264-4043-9735-8808F746A633@microsoft.com...
> What is the command please.
> As in Form we can run 'Crea Form' or ' Modi Form'
>
> thank u.
>
> "Stefan Wuebbe" wrote:
>
>>
>> You can create toolbars "visually" in the class designer (very
>> similar to the form designer).
>>
>>
>> hth
>> -Stefan
>>
>> "Bankim Desai" <BankimDesai@discussions.microsoft.com> schrieb im Newsbeitrag
>> news:C7765922-5390-4193-B2B6-8B91AF9F6B35@microsoft.com...
>> > How to Create a toolbar buttons, without writing the source code for the same.
>> > As we can use the controls on the form for desiging the same. Toolbar can
>> > also be created. If yes, what is the source code.
>> > As i am a novice programmer i dont know how to use the same.
>> > I do not want to write the code for creating the cmd buttons.
>> >
>>
>>


Re: Toolbar by Anders

Anders
Fri Dec 03 12:08:50 CST 2004

the command is
CREATE CLASS
or if you don't want the visual tools intreface
CREATE CLASS ClassName | ? [OF ClassLibraryName1 | ?]
[AS cBaseClassName [FROM ClassLibraryName2]] [NOWAIT]-Anders "Bankim Desai"
<BankimDesai@discussions.microsoft.com> wrote in message
news:6A421ECC-2264-4043-9735-8808F746A633@microsoft.com...
> What is the command please.
> As in Form we can run 'Crea Form' or ' Modi Form'
>
> thank u.
>


Re: Toolbar by BankimDesai

BankimDesai
Sat Dec 04 00:41:02 CST 2004

Thanks.
How to use the same with DO or with SET LIBR command.
Do not know how to open the same.
It is not sizable. As command buttons has to be created on the same, I can
not size the same.
I want to put the buttons as 'prev, next, query, delete etc on the toolbar'
which will be used by me alonwith the form for the same.
Secondly can i fix it just like the menu bar .

I know i am disturbing u but i need help.
Thanks again.

"Anders Altberg" wrote:

> the command is
> CREATE CLASS
> or if you don't want the visual tools intreface
> CREATE CLASS ClassName | ? [OF ClassLibraryName1 | ?]
> [AS cBaseClassName [FROM ClassLibraryName2]] [NOWAIT]-Anders "Bankim Desai"
> <BankimDesai@discussions.microsoft.com> wrote in message
> news:6A421ECC-2264-4043-9735-8808F746A633@microsoft.com...
> > What is the command please.
> > As in Form we can run 'Crea Form' or ' Modi Form'
> >
> > thank u.
> >
>
>

Re: Toolbar by Stefan

Stefan
Sat Dec 04 07:00:53 CST 2004


"Bankim Desai" <BankimDesai@discussions.microsoft.com> schrieb im Newsbeitrag
news:045E6422-2629-4757-A973-34161DA48203@microsoft.com...
> Thanks.
> How to use the same with DO or with SET LIBR command.
> Do not know how to open the same.

You can use CreateObject(cClass) or NewObject(cClass, cLibrary)

> It is not sizable. As command buttons has to be created on the same, I can
> not size the same.

By design a toolbar is sizeable at runtime, i.e. user can
drag it to appear in "landscape" or rather portrait dimensions,
for example. But you can put containers in a toolbar as well and
so get a kind of pre-defined size

> I want to put the buttons as 'prev, next, query, delete etc on the toolbar'
> which will be used by me alonwith the form for the same.
> Secondly can i fix it just like the menu bar .

You can toolbar.Dock() && see help


hth
-Stefan