| |
|
|
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 CompileMarkSeparationhBild& = @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 |
|
|
| |
|
|
|
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: CompileMarkSeparationhToolbar& = @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. |
|
|
| |
|
|
|
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 CompileMarkSeparationhToolBmp& = 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. CompileMarkSeparationhBild& = @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 |
|
|
| |
|
|