DialogDesign0R V1.85
Re: DialogDesign0R V1.82
I just tried it and it's very nicely done ! You should setup a github account for so you could get some pull requests. I pinned the topic so it will be easily shown for new comers
Re: DialogDesign0R V1.82
As said: I did nothing to the Project or the Code. I just opened the project file (which opened all used sources), selected the target and hit "create executable".
Sure, I'd love to, if it helps. How?
- Send it as private message?
- Toss it into a pastebin?
- Send a pull request?
- Else?
Just tell me and I'll have it sent over to yours.
cheers,
bembulak
bembulak
Re: DialogDesign0R V1.82
That is not going to happen, there is nothing I hate more than git!
Thanks for the pinning!
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
Re: DialogDesign0R V1.82
Thanks for sharing your work, Hex0r.
I've tried compiling the source (by opening the PBP file), but the MyToolBarStandard.pbi references PNG files which look to have come with the PB install, but I can't seem to locate them - are they from an older version of PB?
Regards,
Amundo
I've tried compiling the source (by opening the PBP file), but the MyToolBarStandard.pbi references PNG files which look to have come with the PB install, but I can't seem to locate them - are they from an older version of PB?
Regards,
Amundo
Win8.1, PB5.x, okayish CPU, onboard video card, fuzzy monitor (or is that my eyesight?)
"When the facts change, I change my mind" - John Maynard Keynes
"When the facts change, I change my mind" - John Maynard Keynes
Re: DialogDesign0R V1.82
No, it's the other way round!
In former PB versions, there were only a hand-full of icons, since PB6.00 there are 15 icons in that folder.
At least in the windows version, not sure about the others.
But in that file is also a link to the creator of it (mk-soft), I only "borrowed" it, because PB canceled all standard toolbar buttons since PB6.00
In former PB versions, there were only a hand-full of icons, since PB6.00 there are 15 icons in that folder.
At least in the windows version, not sure about the others.
But in that file is also a link to the creator of it (mk-soft), I only "borrowed" it, because PB canceled all standard toolbar buttons since PB6.00
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
Help with toolbar images plz
Hi,
I am not sure if I should ask this question here or under another post, so I try right here. I just love the DialogDesign0R. It has become my go to GUI designer for PureBasic. Until now I have only used toolbuttons with standard icons. I Tried today with the image option. The tooltip says I must define a runtime constant in the main program. but I must be doing something wrong.
Could someone please tell me the correct way to do this in order to use a png image for a toolbutton.
/ Storck
I am not sure if I should ask this question here or under another post, so I try right here. I just love the DialogDesign0R. It has become my go to GUI designer for PureBasic. Until now I have only used toolbuttons with standard icons. I Tried today with the image option. The tooltip says I must define a runtime constant in the main program. but I must be doing something wrong.
Could someone please tell me the correct way to do this in order to use a png image for a toolbutton.
/ Storck
Re: DialogDesign0R V1.82
Sure!
Code: Select all
UsePNGImageDecoder()
;CHANGE to your need!
XIncludeFile "../DD_AddStuff.pbi"
Runtime Enumeration ExtraStuff
#toolbar_1
#toolbutton_1
#toolbutton_2
EndEnumeration
Runtime Enumeration Images
#Image_1
#Image_2
EndEnumeration
Procedure.s GetXMLString()
Protected XML$
XML$ + "<?xml version='1.0' encoding='UTF-16'?>"
XML$ + ""
XML$ + "<dialogs><!--Created by Dialog Design0R V1.83 => get it from: https://hex0rs.coderbu.de/en/sdm_downloads/dialogdesign0r/-->"
XML$ + " <window name='window_1' flags='#PB_Window_SystemMenu | #PB_Window_SizeGadget' text='ToolBar Image Test' width='300' height='200' xpos='58' ypos='346'>"
XML$ + " <toolbar id='#toolbar_1'>"
XML$ + " <toolbutton image='#Image_1' id='#toolbutton_1'/>"
XML$ + " <toolbutton image='#Image_2' id='#toolbutton_2'/>"
XML$ + " </toolbar>"
XML$ + " </window>"
XML$ + "</dialogs><!--DDesign0R Definition: PureBasic|1|1|1|_|example_with_declares|1|AddOn:3:0-->"
ProcedureReturn XML$
EndProcedure
CatchImage(#Image_1, ?LED_On)
CatchImage(#Image_2, ?LED_Off)
a$ = GetXMLString()
If ParseXML(0, a$) And XMLStatus(0) = #PB_XML_Success
CreateDialog(0)
If DEX::InitDialog(0, 0, "window_1", 1)
HideWindow(DialogWindow(0), 0)
While WaitWindowEvent() <> #PB_Event_CloseWindow : Wend
EndIf
EndIf
DEX::DeInit()
DataSection
LED_On:
Data.l $474E5089, $0A1A0A0D, $0D000000, $52444849, $14000000, $14000000, $00000208, $8AEB0200, $0000005A, $4E527406, $00000053, $6E000000, $009107A6, $70090000, $00735948, $0018A600
Data.l $0118A600, $8DC9757E, $31030000, $54414449, $937D8D38, $5B1B4BCF, $FDCFC714, $248F8991, $4999A69A, $2CCFA982, $0B552082, $97DA4859, $B60A50C7, $74294444, $06D5B01D, $DC5A5D77
Data.l $BA082FF9, $A2E9BAD2, $A02445D0, $AA526C9B, $D50855B6, $4315F45A, $99264A93, $AC43A4BC, $F73B999A, $FA35622D, $377CBF6C, $381F385F, $107B9CF7, $0820945C, $BFB870E1, $0C183FBF
Data.l $004E9D3A, $7BAB56A8, $EBEB7B7B, $ABABABEB, $B9BD7AF5, $48873518, $C58B1224, $23776EDC, $8000C632, $AA88D210, $2C2C2EAA, $CBE9D3A4, $7C78C630, $8D1A3C7C, $69A68002, $8E96AAAA
Data.l $01512A4A, $C5BA6DC0, $45145116, $0001C387, $6E7264C9, $CD34CE6E, $62627873, $90707062, $BFBFB631, $6F6B06BF, $D9BE6F3C, $01C471BE, $FFE47100, $23148FE1, $E8EE1461, $2E94A0E8
Data.l $CCCD2D2D, $010000CC, $C7965900, $D34CC6C6, $E7CFFCFC, $BEEBE2D7, $771EFABF, $E1FEF63D, $D77D577D, $B4134E68, $2A3ED78F, $FC17F15C, $BBBB976E, $CB973BBB, $2C59B365, $1E3C4208
Data.l $F3E48427, $ABE257F9, $BD3F7FA7, $D7EEFD7B, $BD35AFE3, $9E6E1186, $CDB5E6C8, $1E5FD797, $4A501C1C, $20B8F1E3, $65965408, $69A7CF9F, $E9AC1ADA, $34C53A1D, $53FA6FFD, $CADBD3ED
Data.l $A5D9C65B, $FB687C5D, $96E8EB70, $F3EBC8F7, $265964F9, $81A3A3A3, $2850A040, $917B68BC, $3B21DC83, $DF36D4DC, $D65F7F7F, $AA9570CB, $C7E77AB4, $6916C69D, $A50F4F4F, $672F5CB4
Data.l $78CE595D, $C95C4942, $2C84CA9C, $4AF456CE, $7B7A0680, $4924A97B, $2D32A108, $B717E073, $00313FFE, $2CC34C03, $484232E3, $084A2492, $A8590841, $3F2477E5, $50B61B25, $7394A50B
Data.l $AAD5AB8E, $AC370820, $5FE03037, $7E800692, $BF63AC6A, $58B16FD5, $DE0A952A, $8426DEDE, $07B6B7B4, $8F95E0CD, $0740C33C, $D42EA3A4, $276CEED5, $6D6D6C84, $452A54E1, $F1451529
Data.l $80443C21, $A421982E, $9081B4FF, $1FC1B881, $B9723EB5, $54D2945C, $9797852A, $92A54B97, $EFB8E1C3, $DF0F7FBC, $71AADCBB, $01F06E6E, $7780C0DB, $15B366C0, $9595C58B, $2B18C215
Data.l $68D14A95, $F7B76ED4, $56057D19, $9CBEC2F8, $939D878F, $3C1F5A0F, $95EE7CEF, $C9E318BC, $9D9DC9C9, $BB00021D, $28A2BBBB, $36A14286, $746DDB47, $54ECD3BB, $575A8AEA, $00C1C1B9
Data.l $E14DD0C4, $B3EF33E6, $F13E7F27, $E94A1E48, $ECE2E2E2, $5D9C2CEC, $7A642115, $8B163A7A, $C9C9C001, $2B56AD49, $27F3161E, $5BF00079, $B24D92FD, $AB56EDDB, $E7E60015, $A6A6A7E7
Data.l $417EA71A, $99232323, $53F4A64C, $8A28A28A, $99331672, $70F0F0CC, $9FE5FD73, $32D2D2D1, $8D143434, $90A14346, $0001E3C7, $36365145, $64C99236, $3E389122, $FE2E6E3E, $79E7ED0F
Data.l $5BBFA54E, $0000005C, $4E454900, $6042AE44
Data.b $82
LED_Off:
Data.l $474E5089, $0A1A0A0D, $0D000000, $52444849, $14000000, $14000000, $00000208, $8AEB0200, $0000005A, $4E527406, $00000053, $6E000000, $009107A6, $70090000, $00735948, $0018A600
Data.l $0118A600, $8DC9757E, $4B030000, $54414449, $54758D38, $5B1B4BCF, $47F73E14, $D04D5F46, $84993367, $50852144, $0854D49E, $21509B3C, $88C2D820, $2165C528, $3706D060, $F9DC075D
Data.l $D2BA082F, $74A2E9BA, $9BA02551, $DA88526C, $B5AA12DA, $49224A98, $FC999324, $C9324A24, $F245BCCC, $7C3D8A34, $CE1DF38B, $DCE5CE77, $DB822E7B, $DB8C30C6, $1D1D1EED, $7D1C3875
Data.l $50007D7D, $F1E2952A, $7EFEFEF8, $65951A34, $751933B9, $31B1B192, $3467CF9F, $51545B1A, $84200014, $4924A8B4, $911B1B1B, $18AEE448, $B0B0BC63, $003CF3C0, $49152A54, $28AAC492
Data.l $30002435, $606B2352, $18359659, $0A10000C, $D6D6D685, $11BD5554, $4E2E2E2F, $8A2A4E4E, $F6244892, $1B9F7B0A, $466A339F, $00D03553, $0D0068A9, $B9EBFF3C, $0E0F739B, $B74A520E
Data.l $5657B7B7, $00800056, $9DEBD780, $55579F9F, $D7FC57F5, $E747CAC7, $C7BF4EBF, $3E607E6F, $13401C48, $46E509A0, $0FE5C7F9, $A9B052E1, $E343E336, $2A50D0D0, $93264A95, $40986198
Data.l $49084020, $0A1FD3A7, $6FF0DE1F, $A78D1FC6, $55EAA90A, $D4303715, $BE36E401, $4FBDBE15, $B8B8BFBE, $020694A0, $A8618601, $58B5EBD7, $654A952C, $EB27B72F, $48980665, $F333F23C
Data.l $55167A33, $70A80A6A, $0ABE0D03, $477A475F, $C5B366CC, $BD7AF162, $CE6E6E64, $B367B76E, $778977D9, $AAFA72E9, $F13DF576, $2FEFCBFD, $351E52F9, $A4226A11, $5CA74EA0, $9E6C7B2B
Data.l $E1D22DD6, $694A61E1, $2F3F9ABE, $F6AA6B9F, $6813E0E9, $756EAD37, $48340156, $B562C98A, $A776A768, $264D49D3, $5F284213, $76B26BCF, $A833A0BF, $85AAAA81, $C84202CB, $42513264
Data.l $47484208, $15DF2074, $5BDD1520, $294A528E, $970D34D5, $6186254A, $C01EFE06, $90190632, $A103508C, $6A324206, $9D0EB9CF, $6C4DC733, $3A74DA33, $C458B15D, $84C7C7C7, $EAC9AB10
Data.l $05B473E8, $7682BBF5, $E1900650, $CAD8F731, $47210959, $1C384747, $594A530E, $F2357D96, $35CD1EEA, $76676D1A, $BFBFB66C, $0E1A529F, $CECEF187, $068A288E, $EB85E183, $E33FF8C5
Data.l $DD9D49D7, $E1338FAE, $4F70989A, $E4F4F4F4, $DDDDB972, $8A28A25D, $CF3C8A28, $A7FAF5EB, $62B34F83, $0CFCECF6, $CC3D6814, $26801436, $32F67CBC, $CD9A0FE8, $30718C66, $39393C18
Data.l $7A700021, $ACB2CA7A, $EDEAE5CB, $790CF5ED, $C85D9CEC, $69249209, $809A0D4D, $D1E4FC55, $DFAFB793, $1CFD67FA, $374A51C7, $57573737, $8AB66F57, $BCBCB210, $00F9F3EC, $57AF5EA0
Data.l $949CD5AB, $D01908CB, $9AB66AC0, $5EBD268C, $05D5D5DF, $EBEBEB00, $AD4B4B4B, $3365BF55, $58B13333, $04DFFC4C, $E1041041, $B162C69A, $3FE9E9E9, $D00024FE, $353DDDDD, $BCF3C535
Data.l $38E2E5CB, $4104000E, $0C3C3C38, $5B5B4285, $AD5AB55B, $DD3FF933, $87A4C4BD, $0058479F, $49000000, $AE444E45
Data.b $42, $60, $82
EndDataSection
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
Re: DialogDesign0R V1.82
@HeX0R
Thank you so much! Exactly what I needed in order to make my own code work.
// Storck
Thank you so much! Exactly what I needed in order to make my own code work.
// Storck
-
- Enthusiast
- Posts: 237
- Joined: Tue Feb 14, 2017 12:07 pm
Re: DialogDesign0R V1.82
Hi, I tried your program but I have trouble understanding how it works because I don't have any help in French.
It is certainly a very good tool but I don't know how to use it.
If not I managed to get the xml code that I created with your software but then I don't know how to make it work:
It is certainly a very good tool but I don't know how to use it.
If not I managed to get the xml code that I created with your software but then I don't know how to make it work:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
-<dialogs>
<!--DDesign0R Definition: PureBasic|0|0|0||-|0-->
-<window id="12" ypos="182" xpos="182" flags="#PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_WindowCentered" height="300" width="400" text="window" name="window_1">
-<panel height="50" width="100" text="abc" name="panel_1">
-<tab>
<button height="50" width="100" text="abcd" name="button_1"/>
</tab>
-<tab>
-<canvas name="canvas_1">
<button height="50" width="200" text="sdfg" name="button_2"/>
</canvas>
</tab>
</panel>
</window>
<window ypos="208" xpos="208" flags="" name="window_2"/>
<window ypos="234" xpos="234" flags="" name="window_3"/>
</dialogs>
I am French, I do not speak English.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
Re: DialogDesign0R V1.82
Re: DialogDesign0R V1.82
HaHaHa
Thanks for rhe Support ChrisR, much appreciated!
In fact I wanted to add a FAQ chapter to the help, but didn't found the time yet.
And I doubt that anyone would be willing to translate the help to French, I'm afraid.
Thanks for rhe Support ChrisR, much appreciated!
In fact I wanted to add a FAQ chapter to the help, but didn't found the time yet.
And I doubt that anyone would be willing to translate the help to French, I'm afraid.
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
Re: DialogDesign0R V1.82
Hi again,
A quick question. I have a project with a maindialog and an aboutdialog. So original. I have set the aboutdialog but when I run the project it still shows up at program start. I also tried to combine with disabled, but it doesn't appear to be disabled either. I guess I must be doing something wrong. It would not be a big deal since I can close it once the program is running, but doing that it flashes out and it doesn't look too good. What would be the best place to deactivate the aboutdialog in the code generated by DD?
/ Storck
A quick question. I have a project with a maindialog and an aboutdialog. So original. I have set the aboutdialog but when I run the project it still shows up at program start. I also tried to combine with disabled, but it doesn't appear to be disabled either. I guess I must be doing something wrong. It would not be a big deal since I can close it once the program is running, but doing that it flashes out and it doesn't look too good. What would be the best place to deactivate the aboutdialog in the code generated by DD?
/ Storck
Re: DialogDesign0R V1.82
Disabling only makes it non reacting to user Input, what you are looking for is "invisible".
I have no PC with me, but an invisible Dialog will not pop-up, so you seem to make something wrong.
In case you're just using the example code DD ist producing through its templates, change the template to your needs, or remove the HideWindow() command it adds.
The example template ist only there to offer a quick possibilty to show the dialogs in PB, not to be included in your app.
You have to create your own template then.
Or alter the existing (preferences / template Editor)
I have no PC with me, but an invisible Dialog will not pop-up, so you seem to make something wrong.
In case you're just using the example code DD ist producing through its templates, change the template to your needs, or remove the HideWindow() command it adds.
The example template ist only there to offer a quick possibilty to show the dialogs in PB, not to be included in your app.
You have to create your own template then.
Or alter the existing (preferences / template Editor)
{Home}.:|:.{Dialog Design0R}.:|:.{Codes}.:|:.{Downloads}.:|:.{History Viewer Online}
-
- Enthusiast
- Posts: 237
- Joined: Tue Feb 14, 2017 12:07 pm
Re: DialogDesign0R V1.82
thank you my dearChrisR wrote: ↑Thu Jan 19, 2023 7:04 pm Take a look at HeX0R's video here
And for a a ready to use *.pb file
I am French, I do not speak English.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.
My apologies for the mistakes.
I have sometimes problems of expression
I am sometimes quite clumsy, please excuse me and let me know.