[Gambas-user] 2 ?'s: Hide Tabs? and Special Characters

Benoit Minisini gambas at ...1...
Wed Dec 8 10:53:26 CET 2004


On Wednesday 08 December 2004 02:59, Chris Wilson wrote:
> Hi,
>
> I need to have 3 different views in my program(language school admin).
>  In glade I'd just make a notebook(tabstrip) and choose hide tabs.
> Orientation has "top" and "bottom" to choose from but no "none". I'd
> like to get the tabstrip functionality w/o the actual tabs being
> shown.  The user chooses a view from a drop down and it goes to the
> appropriate tab page.
>
> Is this possible with gambas. If not what, would you suggest? I'd
> assume having 3 Hpanels on top of each other and showing the selected
> one.  This is however makes it more difficult to design and edit
> because I have to keep bring the one I want to edit to the top.

I don't know if it is possible on QT... I must look in the doc. I do it with 
many panels, and yes, it is difficult to edit :-)

>
> Second question, When I view my data in the database manager umlauts
> and the swedish a with the circle over it and such look fine but in my
> program I'm getting 2 squares.  What's the secret

It is a charset problem: Gambas uses UTF-8, but databases uses 
Connection.Charset to store strings. When you get a string from a database, 
you must convert it to UTF-8 with Conv$() if you want to display it in a GUI.

>
> Thanks,
> Chris
>

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list