Page 31 of 49

Re: IceDesign GUI designer

Posted: Fri Feb 03, 2023 3:56 pm
by ChrisR
Kuron wrote: Thu Feb 02, 2023 10:47 pm Very happily just ordered it! Awesome product!
Thank you for your purchase, glad you like it :)

Re: IceDesign GUI designer

Posted: Sat Feb 04, 2023 8:16 pm
by cptdark
Nice work, bought today.
One question: How to change tab order, or insert a Tab at specific position in a PanelGadget?

Re: IceDesign GUI designer

Posted: Sat Feb 04, 2023 8:36 pm
by Caronte3D
I tink it's not possible, you can only add or delete tabs.

Re: IceDesign GUI designer

Posted: Sat Feb 04, 2023 9:03 pm
by cptdark
Caronte3D wrote: Sat Feb 04, 2023 8:36 pm I tink it's not possible, you can only add or delete tabs.
Then it's a feature request ;)

Re: IceDesign GUI designer

Posted: Mon Feb 06, 2023 4:30 pm
by ChrisR
cptdark wrote: Sat Feb 04, 2023 8:16 pm Nice work, bought today.
One question: How to change tab order, or insert a Tab at specific position in a PanelGadget?
Thanks :)
It's actually possible to change the tab order through a new temporary tab and cut/paste all... but it's of course far from ideal.
I'm looking into how to change the order of the tabs.
And I should be able to do it, probably with 2 new options in the Panel Context Menu: "Move Tab to Left" and "Move Tab to Right"

Re: IceDesign GUI designer

Posted: Mon Feb 06, 2023 5:28 pm
by cptdark
ChrisR wrote: Mon Feb 06, 2023 4:30 pm Thanks :)
It's actually possible to change the tab order through a new temporary tab and cut/paste all... but it's of course far from ideal.
I'm looking into how to change the order of the tabs.
And I should be able to do it, probably with 2 new options in the Panel Context Menu: "Move Tab to Left" and "Move Tab to Right"
Okay, I'll try.

Here's a bug I found:
* new Project
* add 4 Buttons
* left click first
* hold STRG and klick Button2, Button3, Button 4 -> all selected
* set Button_Toggle constant
* Result: Button 1 and 4 have this flag, Button 2 and 3 not

* new Project
* add 4 Buttons
* left click first
* hold STRG and klick Button2, Button3, Button 4 -> all selected
* klick Button3 without STRG pressed -> all seem to be still selected
* set Button_Toggle constant
* Result: Button 1 and 3 have this flag, Button 2 and 4 not

V1.8.8 64 Bit Win10

Re: IceDesign GUI designer

Posted: Tue Feb 07, 2023 12:34 am
by ChrisR
IceDesign has been updated in version 1.8.9
  • Fixed mass update of constants for a group of selected gadgets..
  • Possible reorganization of the panel tabs with 2 new options added in its context menu: "Move tab to the left" and "Move tab to the right".
Image

Re: IceDesign GUI designer

Posted: Thu Feb 09, 2023 8:58 pm
by blueb
Hi Chris... nice to see all the improvements. :)

Quick question... creating a 'JellyButton', I notice visually there is not a great differential between the regular button view and the toggled view.
Notice that the regular button turns a light blue when toggled.

Is it possible to enhance IceDesign to 'flip' the colors when the button is in the toggled mode?

Example code:

Code: Select all


EnableExplicit

;- Enumerations
Enumeration Window
  #Window_0
EndEnumeration

Enumeration Gadgets
  #Btn_Jelly_Toggle_Button
  #Btn_Regular_Toggle_Button
EndEnumeration

Enumeration Font
  #Font_0
EndEnumeration

;- Load Fonts
LoadFont(#Font_0, "Calibri", 14, #PB_Font_Bold)

;- Declare
Declare Open_Window_0(X = 0, Y = 0, Width = 1200, Height = 800)

XIncludeFile "JellyButtons.pbi"

Procedure Open_Window_0(X = 0, Y = 0, Width = 1200, Height = 800)
  If OpenWindow(#Window_0, X, Y, Width, Height, "Title", #PB_Window_SystemMenu | #PB_Window_MinimizeGadget | #PB_Window_MaximizeGadget | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
      SetWindowColor(#Window_0, $A8CAE3)
    JellyButton(#Btn_Jelly_Toggle_Button, 150, 230, 370, 110, "Jelly Toggle Button", $141F54, $A8CAE3, #PB_Button_Toggle)
      SetGadgetFont(#Btn_Jelly_Toggle_Button, FontID(#Font_0))
    ButtonGadget(#Btn_Regular_Toggle_Button, 150, 360, 370, 110, "Regular Toggle Button", #PB_Button_Toggle)
      SetGadgetFont(#Btn_Regular_Toggle_Button, FontID(#Font_0))

  EndIf
EndProcedure

CompilerIf (#PB_Compiler_IsMainFile)
;- Main Program
Open_Window_0()

;- Event Loop
Repeat
  Select WaitWindowEvent()
    Case #PB_Event_CloseWindow
      Break

      ;-> Event Gadget
    Case #PB_Event_Gadget
      Select EventGadget()
        Case #Btn_Jelly_Toggle_Button   ; Jelly Toggle Button
          Debug "Jelly toggled"
        Case #Btn_Regular_Toggle_Button   ; Regular Toggle Button
          Debug "Regular toggled"
      EndSelect

  EndSelect
ForEver
CompilerEndIf


Re: IceDesign GUI designer

Posted: Fri Feb 10, 2023 3:04 am
by ChrisR
Hi blueb, indeed there is not a big contrast, highlighting.
I looked quickly, the image (imgPressed) is just flipped vertically in Make_Jelly_Images() procedure. It would probably be better with a filter to highlight it.
As you know it, you may have already an idea! otherwise I'll have a look but I don't really have time the next few days.

Re: IceDesign GUI designer

Posted: Fri Feb 10, 2023 5:33 pm
by ebs
I just made my purchase this morning.

I've used other free and paid designers previously, and this one is considerably better.
It writes code without a lot of unnecessary details, and uses simple enumerations much like my manually-written code.

But the BEST part is the "PBForm2IceDesign.pbi" add-in, which converts your forms to IceDesign format.
It produced an almost flawless copy of a simple data entry form with text, string, date and listicon gadgets.
This is something I've been wanting to be able do for a long time. Bravo!

Re: IceDesign GUI designer

Posted: Sat Feb 11, 2023 7:48 pm
by ChrisR
Thank you for your purchase ebs and for your very nice comment :) I wish you a good use

Re: IceDesign GUI designer

Posted: Mon Feb 13, 2023 4:38 pm
by ebs
Hi @ChrisR,

My first request - would it be possible to add an Undo function?
I'm still learning exactly how the toolbar functions work with multiple controls, so an Undo button would be very handy.

Also a question - I haven't found a lot of difference between selecting multiple controls vs. making a group.
Could you please explain when to use one or the other?

Regards,
Eric

Re: IceDesign GUI designer

Posted: Mon Feb 13, 2023 6:52 pm
by ChrisR
Hi Eric,

You are not the first one to ask for Undo/Redo feature
But it is not so simple, I have many many possible action to deal with:
Create and delete gadget, open and close container, create and delete tab, change the tab order,
Cut, Copy, Paste, Clone, move or resize a gadget or a group of Gadgets,
Each property: Caption, Font, Back and Front Color, Lock and proportional, constants...
With grouped actions or not.

I have a template that is ~ ready for Undo/Redo, I may publish it in Tips and Tricks.
But I will not go further for the moment.
I'm leaving in 2 weeks 1/2 with my wife for a 6 months tour of Europe in a Camper Van and I won't have 4G everywhere so maybe some movies in the evening but not much computer.
I have some work to do to prepare the van and this trip and it would be too risky to do it before and not be able to do any support.
So if I do something, it will be later after the 6 months of travel.

#
About multiple selection and group
Create a group allows to select the whole group as soon as one of its gadgets is selected.
It can be useful for future selections eg: move an address goup, with name, mail, adress, city, country...
But otherwise, there is not a big difference between a multiple selection and making a group. Just the way to select them.

Re: IceDesign GUI designer

Posted: Mon Feb 13, 2023 7:37 pm
by ebs
Thanks for the information and have a great 6 months without a computer!
I'd like to be able to do that (sometimes) :D

Re: IceDesign GUI designer

Posted: Tue Feb 14, 2023 8:24 am
by Kuron
Chris: Thank you for everything you do and I hope you and wifey have a wonderful and safe trip and enjoy yourselves. Enjoy your time together. More couples need to be able to do things like this.