Hi there,
I came across the same problem and used to following code to fix it.
File = SaveFileRequester("Save file as..", StandardFile, Pattern, Patternc)
If File
Index = SelectedFilePattern()
If (index=0) And (GetExtensionPart(File)="")
File= File +".pop"
EndIf
EndIf
John Finney
Search found 10 matches
- Thu Dec 30, 2004 4:57 pm
- Forum: Windows
- Topic: Problems with Save Requester
- Replies: 5
- Views: 2708
- Tue Dec 28, 2004 3:47 pm
- Forum: Coding Questions
- Topic: String numerics
- Replies: 11
- Views: 2403
Quick reply
5 minutes to reply, including some code, is Sparkie really a bot?
Thanks for that.
John Finney
Thanks for that.
John Finney
- Tue Dec 28, 2004 3:37 pm
- Forum: Coding Questions
- Topic: String numerics
- Replies: 11
- Views: 2403
More
My reply didn't make much sense to me. Look at this code,
If OpenWindow(0,0,0,322,100,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"StringGadget Flags") And CreateGadgetList(WindowID(0))
StringGadget(1,8, 10,306,20,"")
ButtonGadget(2,8, 40,306,20,"Change string to numeric type ...
If OpenWindow(0,0,0,322,100,#PB_Window_SystemMenu|#PB_Window_ScreenCentered,"StringGadget Flags") And CreateGadgetList(WindowID(0))
StringGadget(1,8, 10,306,20,"")
ButtonGadget(2,8, 40,306,20,"Change string to numeric type ...
- Tue Dec 28, 2004 3:10 pm
- Forum: Coding Questions
- Topic: String numerics
- Replies: 11
- Views: 2403
string numerics
Hi Sparkie,
thanks for the other reply.
I have a normal string gadget i created which can accept text, or numbers. I need to change this to that it only accepts numbers and then at other times just accepts strings. Currently I do this by using the code
StringGadget(#Gadget, x, y, Width, Height ...
thanks for the other reply.
I have a normal string gadget i created which can accept text, or numbers. I need to change this to that it only accepts numbers and then at other times just accepts strings. Currently I do this by using the code
StringGadget(#Gadget, x, y, Width, Height ...
- Tue Dec 28, 2004 2:25 pm
- Forum: Windows
- Topic: string gadget
- Replies: 0
- Views: 1123
string gadget
Hi again,
could someone show me how to convert a normal string into a numeric only string(or any type of string), without having to recreate the string using the command
Code:
StringGadget(#Gadget, x, y, Width, Height, Content,#PB_String_Numeric)
Thanks,
John Finney
could someone show me how to convert a normal string into a numeric only string(or any type of string), without having to recreate the string using the command
Code:
StringGadget(#Gadget, x, y, Width, Height, Content,#PB_String_Numeric)
Thanks,
John Finney
listicon
Hi everyone,
does anyone know how to capture the event listicongadget scroll?
I have a listicon gadget on a panel and I need some way to capture when somebody clicks the scrollbar.
Thanks.
John Finney
does anyone know how to capture the event listicongadget scroll?
I have a listicon gadget on a panel and I need some way to capture when somebody clicks the scrollbar.
Thanks.
John Finney
- Mon Dec 27, 2004 11:33 am
- Forum: Coding Questions
- Topic: listicongadget scroll capture
- Replies: 1
- Views: 1372
listicongadget scroll capture
Hi everyone,
does anyone know how to capture the event listicongadget scroll?
I have a listicon gadget on a panel and I need some way to capture when somebody clicks the scrollbar.
Thanks.
John Finney
does anyone know how to capture the event listicongadget scroll?
I have a listicon gadget on a panel and I need some way to capture when somebody clicks the scrollbar.
Thanks.
John Finney
- Sun Dec 26, 2004 8:14 am
- Forum: Coding Questions
- Topic: String numerics
- Replies: 11
- Views: 2403
String numerics
Hi again,
could someone show me how to convert a normal string into a numeric only string(or any type of string), without having to recreate the string using the command
Thanks,
John Finney
could someone show me how to convert a normal string into a numeric only string(or any type of string), without having to recreate the string using the command
Code: Select all
StringGadget(#Gadget, x, y, Width, Height, Content,#PB_String_Numeric)John Finney
- Sun Dec 26, 2004 8:08 am
- Forum: Coding Questions
- Topic: Sendmessage
- Replies: 2
- Views: 1058
Sendmessage
Hi everyone,
the sendmessage api call seems to fill in just about every void in purebasic in relation to gadgets. Can someone tell me where I can get a full description of this.
Thanks.
John
the sendmessage api call seems to fill in just about every void in purebasic in relation to gadgets. Can someone tell me where I can get a full description of this.
Thanks.
John
- Thu Dec 23, 2004 9:00 am
- Forum: Coding Questions
- Topic: dynamically expanding combobox
- Replies: 1
- Views: 1216
dynamically expanding combobox
Hi everyone,
could someone tell me how to make a combobox expand whilst it is being clicked so that the dropdown menu is long enough to show data that is longer that the actual combobox..
Thanks.
John Finney
could someone tell me how to make a combobox expand whilst it is being clicked so that the dropdown menu is long enough to show data that is longer that the actual combobox..
Thanks.
John Finney