Search found 22 matches
- Fri Apr 09, 2010 9:54 pm
- Forum: Coding Questions
- Topic: Data Breakpoints
- Replies: 0
- Views: 847
Data Breakpoints
Why are the new data breakpoints disabled before starting the pgm? Why are the breakpoints gone after stopping the pgm run so they have to be recaptured each time? Is this a bug or a feature?
- Sat Nov 21, 2009 8:23 pm
- Forum: Tricks 'n' Tips
- Topic: Copy structure with pointer (v4.40 work around)
- Replies: 13
- Views: 4005
Re: Copy structure with pointer (v4.40 work around)
Maybe this is the best workaround for the time being? Only only one init command per structure (+1 generic macro):
Macro InitCopyStruct(struc)
Structure work#struc
struc.struc[0]
EndStructure
Procedure copyStruct#struc(*a.work#struc,*b.work#struc)
*b\struc = *a\struc
EndProcedure ...
Macro InitCopyStruct(struc)
Structure work#struc
struc.struc[0]
EndStructure
Procedure copyStruct#struc(*a.work#struc,*b.work#struc)
*b\struc = *a\struc
EndProcedure ...
- Thu Nov 05, 2009 10:46 am
- Forum: Announcement
- Topic: PureBasic 4.40 beta 6 is out !
- Replies: 29
- Views: 14590
Re: PureBasic 4.40 beta 6 is out !
Thanks, IDE seems to be more stable now.
But pls, what is a non-declared array?
But pls, what is a non-declared array?
- Thu Oct 22, 2009 3:42 pm
- Forum: Coding Questions
- Topic: Focus rectangle on checkboxes
- Replies: 11
- Views: 3267
Focus rectangle on checkboxes
When I tab through several checkboxes w/o xp skin I see a dotted rectangle that indicates the checkbox having the focus; when I activate xp skin I see nothing and must guess where I am currently - a behaviour which I nearly consider as a bug. (XP/PB 4.31 and 4.4b5)
So how can I indicate the focus ...
So how can I indicate the focus ...
- Thu Oct 22, 2009 3:21 pm
- Forum: PureFORM & JaPBe
- Topic: PureLVSORT library : sorting ListIconGadgets (and more)
- Replies: 438
- Views: 321555
Re: PureLVSORT library : sorting ListIconGadgets (and more)
Hi, gnozal, PureLVSORT_GetFilterString is not working properly under Win7, as it seems to me. For columns where the user hasn't entered anything it returns garbage instead of empty string, with Pb 4.31 and 4.40b5.
- Sat Oct 10, 2009 8:18 pm
- Forum: Coding Questions
- Topic: User defined functions
- Replies: 12
- Views: 2764
Re: User defined functions
You must transform the infix notation of the equation into postfix (or Reverse Polish Notation), then you can evalutate it easyly. If search for these terms you will find some hints.
- Thu Jul 02, 2009 10:38 pm
- Forum: Coding Questions
- Topic: Why is Thread so slow?
- Replies: 4
- Views: 1131
- Thu Jul 02, 2009 8:11 pm
- Forum: Coding Questions
- Topic: Why is Thread so slow?
- Replies: 4
- Views: 1131
Why is Thread so slow?
Can anybody pls explain me why the thread in the following example is so slow compared to directly executing it:
If OpenWindow(0, 216, 0, 602, 302, "PureLVSORT Test", #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
ListIconGadget(0, 5, 5, 590, 285, "String", 110 ...
If OpenWindow(0, 216, 0, 602, 302, "PureLVSORT Test", #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
ListIconGadget(0, 5, 5, 590, 285, "String", 110 ...
- Fri Jun 19, 2009 9:04 am
- Forum: Coding Questions
- Topic: Keyboard Focus and Threads
- Replies: 13
- Views: 2475
- Fri Jun 19, 2009 8:54 am
- Forum: Coding Questions
- Topic: Keyboard Focus and Threads
- Replies: 13
- Views: 2475
- Thu Jun 18, 2009 2:20 pm
- Forum: Coding Questions
- Topic: Keyboard Focus and Threads
- Replies: 13
- Views: 2475
Keyboard Focus and Threads
Does anybody have an idea why window/gadget 0 does not get the keyboard focus, whatever I do?
Procedure test(x)
hwnd=OpenWindow(1, 0, 0, 256, 99, "", #PB_Window_ScreenCentered )
If hwnd
TextGadget(#PB_Any, 50, 10, 170, 70, "xxx", #PB_Text_Center)
EndIf
While WindowEvent() : Wend
Delay(1500 ...
Procedure test(x)
hwnd=OpenWindow(1, 0, 0, 256, 99, "", #PB_Window_ScreenCentered )
If hwnd
TextGadget(#PB_Any, 50, 10, 170, 70, "xxx", #PB_Text_Center)
EndIf
While WindowEvent() : Wend
Delay(1500 ...
- Sun May 17, 2009 10:14 am
- Forum: Coding Questions
- Topic: UnlockMutex w/o Lock locks
- Replies: 11
- Views: 2149
- Wed May 06, 2009 3:30 pm
- Forum: Coding Questions
- Topic: UnlockMutex w/o Lock locks
- Replies: 11
- Views: 2149
I used this Unlock to make sure that at a given point the resource was unlocked, regardless what happened before. I find this a quite reasonable approch and cannot see where the problem should be when Unlock always would do what it says.
I found a workaround now - just put a TryLock before - but I ...
I found a workaround now - just put a TryLock before - but I ...
- Wed May 06, 2009 1:59 pm
- Forum: Coding Questions
- Topic: UnlockMutex w/o Lock locks
- Replies: 11
- Views: 2149
- Wed May 06, 2009 1:17 pm
- Forum: Coding Questions
- Topic: UnlockMutex w/o Lock locks
- Replies: 11
- Views: 2149