Search found 1625 matches

by Thunder93
Sun Oct 01, 2017 10:53 pm
Forum: Coding Questions
Topic: Issue with Rounded corners StringGadget
Replies: 6
Views: 1806

Re: Issue with Rounded corners StringGadget

Hi firace. You should grab the latest PB package. The bug is no more with PB 5.60 and 5.61 releases.
by Thunder93
Sun Oct 01, 2017 3:54 pm
Forum: Coding Questions
Topic: Sorting some strings?
Replies: 6
Views: 1688

Re: Sorting some strings?

I answered this in your unicode post . :idea: Use qsort() with the natural string comparison function. Tested that.. But It doesn't show the following order; ... 72a 72b 72ab ... -- BEFORE -- 72ab 73 75 72 71 72a 74 72b -- PB SortArray(MyWords(),#PB_Sort_Ascending, 0, ArraySize(Mywords())) -- 71 72...
by Thunder93
Sun Oct 01, 2017 3:18 pm
Forum: Coding Questions
Topic: Can checkboxes be word-wrapped?
Replies: 5
Views: 1570

Re: Can checkboxes be word-wrapped?

This flag #PB_Button_MultiLine, works on ButtonGadget with the exception of OS X. CheckBoxGadget is of the button class so this flag still apply here. :wink:
by Thunder93
Sun Oct 01, 2017 4:15 am
Forum: Coding Questions
Topic: Can checkboxes be word-wrapped?
Replies: 5
Views: 1570

Re: Can checkboxes be word-wrapped?

How about the following? If OpenWindow(0, 0, 0, 270, 160, "CheckBoxGadget WordWrap", #PB_Window_SystemMenu | #PB_Window_ScreenCentered) CheckBoxGadget(0, 10, 10, 75, 50, "WordWrap Cool.", #PB_Button_MultiLine) Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow EndIf
by Thunder93
Sun Oct 01, 2017 1:50 am
Forum: Tricks 'n' Tips
Topic: Registry Module (windows only)
Replies: 78
Views: 48847

Re: Registry Module (windows only)

Anytime Dude. :mrgreen:
by Thunder93
Sun Oct 01, 2017 1:34 am
Forum: Tricks 'n' Tips
Topic: Registry Module (windows only)
Replies: 78
Views: 48847

Re: Registry Module (windows only)

;====================================================================== ; Module: Registry.pbi ; ; Author: Thomas (ts-soft) Schulz ; Date: Feb 25, 2017 ; Version: 1.5.2 ; Target Compiler: PureBasic 5.2+ ; Target OS: Windows ; License: Free, unrestricted, no warranty whatsoever ; Use at your own ris...
by Thunder93
Sat Sep 30, 2017 1:38 am
Forum: Coding Questions
Topic: Issue with Rounded corners StringGadget
Replies: 6
Views: 1806

Re: Issue with Rounded corners StringGadget

Not issue with 5.60 / 5.61 releases.
by Thunder93
Fri Sep 29, 2017 10:22 pm
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

Changed. Thanks mk-soft for clarifying.
by Thunder93
Fri Sep 29, 2017 9:13 pm
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

If I recall correctly.., HANDLEs are Longs, not Integers. Or did I forget something? If this is so why would PB require var to be with integer datatype for anyways the Window object, regardless if you running 64bit or not. Regarding the returns from using #PB_Any. Dynamic number return must be store...
by Thunder93
Fri Sep 29, 2017 7:32 pm
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

Bisonte wrote:
Thunder93 wrote:It was but isn't necessary, a Long would be more appropriate here.
If you store OS handles in this vars, integer is the type. (or if you use #PB_Any).

That will prevent you from bug-searching.
Are you sure about that? :wink:
by Thunder93
Fri Sep 29, 2017 6:16 pm
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

It was but isn't necessary, a Long would be more appropriate here.
by Thunder93
Fri Sep 29, 2017 2:44 pm
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

The visual effect I would have liked to offer isn't achievable in a cross-platform supported way, currently with PureBasic language. When click to bring up the popup menu, and then simply moving from this menu to another, and It'll automatically close the currently opened popup menu and bring up the...
by Thunder93
Fri Sep 29, 2017 12:12 am
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

You might like this little better. :wink: https://s26.postimg.org/u7s2wjcbp/Window_Multi_Canvas_Menus.png ;- ;- Constants - PRIVATE #_Menu_None = 0 #_Menu_Item = 1 #_Menu_Drop = 2 #_Menu_Dropping = $010000 ;- ;- Constants - PUBLIC Enumeration Windows #Win1 EndEnumeration Enumeration Gadgets #ListIco...
by Thunder93
Thu Sep 28, 2017 3:32 am
Forum: Coding Questions
Topic: How do I space out MenuTitles above each ListView.?
Replies: 20
Views: 4135

Re: How do I space out MenuTitles above each ListView.?

Just tweaked Bisonte's initially posted version to be little more natural in the way we normally see menus works. It does need little more enhancement to share exact characteristics, however I think you'll like the changes made so far. And the same goes for the visual aspect, but It's improved. Also...
by Thunder93
Wed Sep 27, 2017 11:52 pm
Forum: General Discussion
Topic: Why I had to stop using PureBasic
Replies: 154
Views: 56663

Re: Why I had to stop using PureBasic

Hi Andre. Windows Defender flagged upon download attempt of CodeArchiv_v4-Beta.zip package. Force downloading, the following files that are flagged are all the PB compiled executables. Trojan: Win32/Dynamer!Ac (Severe) DeskSwitch.exe browser_broker.exe ... as we know, PB compiled executables just is...