English
Forum

Done: Toolbar beauty errors

 

Sato
Pinto
Hello

can the someone testing?
Fals the letztes Parameter 2 or 3 is, becomes The Toolbar not any more displayed
n5: Style the Toolbar
0 = supra - 3D
1 = supra - levelly
2 = under - 3D
3 = under - levelly
loudly XProfan Hife ought to still functions
have with Xpofan 11.2 tested, a ältere Version have in Momment not installs
CompileMarkSeparation
hBild& = @Create("HPIC", -1, "TOOLBAR.BMP")
hToolbar& = @Create("TOOLBAR", %hWnd, hBild&, 0, 32, 2000, 2)e>

The Toolbar.bmp becomes at Programstart of a DLL gotten and on the Festplatte stored
The size the Bitmap is 320x32, see Screenshot

One differently small Problem Toolbar can into second Screenshot see.
once I one part de ProgrammFenster ausserhalb the Desktop shift arise a line between whom Menu and the Toolbar, small blemish!
is it possible To improve?

Regards
Sato

64 kB
Hochgeladen:07/25/09
Downloadcounter132
Download
5 kB
Hochgeladen:07/25/09
Downloadcounter128
Download
 
Sato Pinto
WIN XP Home
XPROFAN 11
07/25/09  
 




Peter
Max
Müller
Habs time tested with the example from the Help. Klappt everything as it should.
Perhaps runs in your code what from the helms.
rather You make time one Minimal example ready in the The Error appear.

Greeting
P.M.M

PS: see straight:
CompileMarkSeparation
hToolbar& = @Create("TOOLBAR", %hWnd, hBild&, 0, 32, 2000, 2)
>

If there really a "0" with you is then can not functions.
The 0 standing for internen Standardicons. you mußt The number the vorhandenen Images the Toolbar.bmp indicate. here means 10.
 
XProfan X3, X4ß, Win 10.1
07/25/09  
 




Dieter
Zornow
here one small example, the with XProfan 11 thereby was. the best would The Toolbar in a Imagelist To pack. but It's all right too so
CompileMarkSeparation
hToolBmp& = create("hPic", 0, "TOOLBAR")
hIL& = Create("ImageList", 16, 16, hToolBmp&, rgb(192, 192, 192))
deleteobject hToolBmp&
hTB& = create("Toolbar", %hWnd, hToolBmp&, 0, 16, 9000, 1)
Toolbar("AddButton", hTB&, 11, 201, "Neue Datei")
Toolbar("AddButton", hTB&, 12, 202, "Öffnen")
Toolbar("AddButton", hTB&, 13, 210, "Speichern")<

The Toolbar is from the Profan.exe and the 16 is the Size the Buttons
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
07/25/09  
 




Sato
Pinto
Hello Peter

In my Program use I the Besipiel from the Help so so did i Tootips have
With the whom letzen Parameter 2 or 3 causes the The Toolbar on the downstairs part from the Program Window appear, accordingly is it clarified.
CompileMarkSeparation
hBild& = @Create("HPIC", -1, "TOOLBAR.BMP")
hToolbar& = @Create("TOOLBAR", %hWnd, hBild&, 10, 32, 2000, 1)
@Toolbar("AddButton", hToolBar&, 0, 2000, "Abrir Base de Dados")
@Toolbar("AddButton", hToolBar&, 1, 2001, "Ver Listagens")
@Toolbar("AddButton", hToolBar&, 2, 2002, "Pesquisas")
@Toolbar("AddButton", hToolBar&, 3, 2003, "")
@Toolbar("AddButton", hToolBar&, 4, 2004, "Ver conteúdo do cartão - Não grava!")
@Toolbar("AddButton", hToolBar&, 5, 2005, "Gravar dados do cartão")
@Toolbar("AddButton", hToolBar&, 6, 2006, "Cartões")
@Toolbar("AddButton", hToolBar&, 7, 2007, "Criar registo manual")
@Toolbar("AddButton", hToolBar&, 8, 2008, "Configurações")
@Toolbar("AddButton", hToolBar&, 9, 2009, "Fechar o programa"span>

That the line at move have not yet rausgefunden what there go is

greeting
Sato
 
Sato Pinto
WIN XP Home
XPROFAN 11
07/25/09  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.134 Views

Untitledvor 0 min.
Peter Max Müller11/18/17
mene10/23/17
Ernst05/10/16
Andre Rohland01/06/15
More...

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie