Translated by Google
It is possible to "insert" a TextBox, Label, etc.. control in a Toolbar.
What I want is to insert a Textbox control in a Toolbar control, to search (incremental search in a table dbf).
Thanks
Greetings
Javier
Español,
Es posible "insertar" un control Textbox, Label, etc. en un control Toolbar.
Lo que quiero es insertar un control Textbox en un control Toolbar, para hacer búsquedas (búsqueda incremental en una tabla dbf).
Gracias
Saludos
Javier
About inserting controls in a Toolbar control
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5480
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: About inserting controls in a Toolbar control
IMHO, it is not possible as of now.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: About inserting controls in a Toolbar control

As far as I know.....you can't.jparada wrote:Translated by Google
It is possible to "insert" a TextBox, Label, etc.. control in a Toolbar.
What I want is to insert a Textbox control in a Toolbar control, to search (incremental search in a table dbf).
Thanks
Greetings
Javier

But you can take a look at HMG\SAMPLES\CONTAINERS\SPLITBOX\Demo7.prg
and you will find a excellent example about TOOLBAR and COMBOBOX working together.
May be that's what you are searching for.
Regards,
Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
Re: About inserting controls in a Toolbar control
Thanks for answering, Rathinagiri, I feared that response.
Salamandra, I must confess that I am excited when I take a look at the example you told me, but apparently it is not possible to insert a Textbox control that way, help control Splitbox says:
Thanks for answering
Greetings
Javier
Español,
Gracias por contestar, Rathinagiri, me temía esa respuesta.
Salamandra, debo confesar que me emocione cuando le eche un vistazo al ejemplo que me dijiste, pero al parecer no es posible insertar un control Textbox de esa manera, la ayuda del control Splitbox dice:
Gracias por contestar
Saludos
Javier
Salamandra, I must confess that I am excited when I take a look at the example you told me, but apparently it is not possible to insert a Textbox control that way, help control Splitbox says:
If I am wrong please correct to me- Controls / Windows defined as part of this container can be arranged
by users, using a gripperbar located at control's left side. It can be
used with listbox, grid, editbox, tree, browse, combobox, toolbar and
'SplitChild' windows. You must omit '@ <row>,<col>' in control
definition.
Thanks for answering
Greetings
Javier
Español,
Gracias por contestar, Rathinagiri, me temía esa respuesta.
Salamandra, debo confesar que me emocione cuando le eche un vistazo al ejemplo que me dijiste, pero al parecer no es posible insertar un control Textbox de esa manera, la ayuda del control Splitbox dice:
Si estoy equivocado por favor corrijanme.- Controls / Windows defined as part of this container can be arranged
by users, using a gripperbar located at control's left side. It can be
used with listbox, grid, editbox, tree, browse, combobox, toolbar and
'SplitChild' windows. You must omit '@ <row>,<col>' in control
definition.
Gracias por contestar
Saludos
Javier
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: About inserting controls in a Toolbar control
Hi jparada,
COMBOBOX by TEXTBOX and really don't worked for me
(reports compilation error)
Then I'd changed code using EDITBOX instead COMBOBOX and changed code as follows:
EDITBOX edit_00 ;
WIDTH 160 ;
HEIGHT 20 ;
VALUE "" ;
MAXLENGTH 100 ;
ON CHANGE {|| Msginfo("** PUT HERE your ON CHANGE event **") };
NOVSCROLL ;
NOHSCROLL
.... and worked fine.
And... YES, EDITBOX it's not a TEXTBOX, but works fine and I think
this can solve your problem (or almost) ...
Regards,
Salamandra
Using HMG\SAMPLES\CONTAINERS\SPLITBOX\DEMO7.PRG, I'd changed- Controls / Windows defined as part of this container can be arranged
by users, using a gripperbar located at control's left side. It can be
used with listbox, grid, editbox, tree, browse, combobox, toolbar and
'SplitChild' windows. You must omit '@ <row>,<col>' in control
definition.
COMBOBOX by TEXTBOX and really don't worked for me
(reports compilation error)
Then I'd changed code using EDITBOX instead COMBOBOX and changed code as follows:
EDITBOX edit_00 ;
WIDTH 160 ;
HEIGHT 20 ;
VALUE "" ;
MAXLENGTH 100 ;
ON CHANGE {|| Msginfo("** PUT HERE your ON CHANGE event **") };
NOVSCROLL ;
NOHSCROLL
.... and worked fine.
And... YES, EDITBOX it's not a TEXTBOX, but works fine and I think
this can solve your problem (or almost) ...
Regards,
Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )
Re: About inserting controls in a Toolbar control
Thanks for answering Salamandra, your idea is very good I will try
Thanks
Greetings
Javier
Thanks
Greetings
Javier