Search found 10 matches
- Wed Apr 03, 2019 11:22 am
- Forum: 3D Programming
- Topic: demo - Perlin noise
- Replies: 10
- Views: 4237
Re: demo - Perlin noise
wow, always amazed about the stuff PureBasic is able to produce.
- Tue Aug 28, 2018 10:23 am
- Forum: Applications - Feedback and Discussion
- Topic: UB2D - 2D Physically Based Rendering Engine
- Replies: 60
- Views: 25061
Re: UB2D - 2D PBR Engine
Really nice!
Keep up working on it.
Keep up working on it.
- Tue Jan 16, 2018 4:46 pm
- Forum: Coding Questions
- Topic: Seperator in popupmenu
- Replies: 8
- Views: 1713
Re: Seperator in popupmenu
This can happen if one of the character strings (menu text) is empty.
ie: if LANG_PhoneCall.s = ""
:wink:
PS. Avoid using direct numbers as gadget ID, always use name or constant
This was my fault...
I had 2 MenuItems with empty Text$:
Procedure createCustomerPopupMenu()
If ...
ie: if LANG_PhoneCall.s = ""
:wink:
PS. Avoid using direct numbers as gadget ID, always use name or constant
This was my fault...
I had 2 MenuItems with empty Text$:
Procedure createCustomerPopupMenu()
If ...
- Mon Jan 08, 2018 2:48 pm
- Forum: Coding Questions
- Topic: How to set focus on gadget placed inside SpitterGadget
- Replies: 4
- Views: 1687
Re: How to set focus on gadget placed inside SpitterGadget
ups...
that works.
Thank you Fred!
that works.
Thank you Fred!
- Mon Jan 08, 2018 1:34 pm
- Forum: Coding Questions
- Topic: How to set focus on gadget placed inside SpitterGadget
- Replies: 4
- Views: 1687
How to set focus on gadget placed inside SpitterGadget
Hi,
i have a SplitterGadget with 2 Gadgets inside. How to i set the focus on one of these Gadgets inside?
SetGadgetState on SplitterGadget seems to work only for the Splitterposition.
i have a SplitterGadget with 2 Gadgets inside. How to i set the focus on one of these Gadgets inside?
SetGadgetState on SplitterGadget seems to work only for the Splitterposition.
- Thu Jan 04, 2018 8:33 pm
- Forum: Coding Questions
- Topic: Seperator in popupmenu
- Replies: 8
- Views: 1713
Re: Seperator in popupmenu
I tried this:
but this did not solve the Problem.
Code: Select all
If IsGadget(#CustomerPopupMenu)
FreeGadget(#CustomerPopupMenu)
EndIf
- Thu Jan 04, 2018 8:26 pm
- Forum: Coding Questions
- Topic: Seperator in popupmenu
- Replies: 8
- Views: 1713
Re: Seperator in popupmenu
The menu creation code you posted seems to work fine for me.
How are you using the createContactPopupMenu() function in your project? Are you recreating the menu each time it needs to be shown? Maybe you need to free it before recreating it.
Yes, i create the PopupMenu every time when it should ...
How are you using the createContactPopupMenu() function in your project? Are you recreating the menu each time it needs to be shown? Maybe you need to free it before recreating it.
Yes, i create the PopupMenu every time when it should ...
- Thu Jan 04, 2018 3:59 pm
- Forum: Coding Questions
- Topic: Seperator in popupmenu
- Replies: 8
- Views: 1713
Seperator in popupmenu
Hi,
i have a popupmenu containing 2 seperators.
Procedure createContactPopupMenu()
ContactPopupMenu = CreatePopupMenu(#PB_Any)
MenuItem(101, LANG_ShowCustomer.s)
MenuItem(103, LANG_ShowNotes.s)
MenuItem(104, LANG_ShowEmails.s)
MenuItem(105, LANG_ShowTasks.s)
MenuItem(106, LANG_ShowBranches ...
i have a popupmenu containing 2 seperators.
Procedure createContactPopupMenu()
ContactPopupMenu = CreatePopupMenu(#PB_Any)
MenuItem(101, LANG_ShowCustomer.s)
MenuItem(103, LANG_ShowNotes.s)
MenuItem(104, LANG_ShowEmails.s)
MenuItem(105, LANG_ShowTasks.s)
MenuItem(106, LANG_ShowBranches ...
- Wed Jan 03, 2018 9:56 pm
- Forum: Coding Questions
- Topic: Select first ListViewGadget row?
- Replies: 2
- Views: 930
Select first ListViewGadget row?
Hi,
how can i select the first row of an ListViewGadget?
I tried SetGatgetItemState(myListViewGadget, 0, 1) but no row is selected.
Mick
how can i select the first row of an ListViewGadget?
I tried SetGatgetItemState(myListViewGadget, 0, 1) but no row is selected.
Mick
- Wed Jan 03, 2018 9:13 pm
- Forum: Coding Questions
- Topic: Alternating row colors in ListViewGadget?
- Replies: 3
- Views: 1158
Alternating row colors in ListViewGadget?
Hi,
is it possible to set an alternating row color in the ListViewGadget on Windows?
row 1 = color1, row 2 = color2, row 3 = Color 1...
Mick
is it possible to set an alternating row color in the ListViewGadget on Windows?
row 1 = color1, row 2 = color2, row 3 = Color 1...
Mick