For a long time using Version 5.11 the following code always worked.
I was using this method instead of normal Buttons to be able to set text and background colours. In all other respects they worked like a normal Button.
The shortcut character in both Menus and Text Gadgets were always underlined ...
Search found 63 matches
- Mon Dec 12, 2016 5:45 am
- Forum: Coding Questions
- Topic: Underline Shortcut Characters Using Text Gadgets
- Replies: 1
- Views: 1214
- Tue May 13, 2014 7:19 am
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Re: Drag/Drop Text Not working
TI-994A
Thanks. All the examples I could find never referred to Drag/Drop for a TextGadget or StringGadget
only ListIcons, Files, or TreeGadgets or Images.
I don't know why never tried to Drag from a StringGadget to another StringGadget but using
my old code posted it works fine on the same window ...
Thanks. All the examples I could find never referred to Drag/Drop for a TextGadget or StringGadget
only ListIcons, Files, or TreeGadgets or Images.
I don't know why never tried to Drag from a StringGadget to another StringGadget but using
my old code posted it works fine on the same window ...
- Tue May 13, 2014 3:46 am
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Re: Drag/Drop Text Not working
Hey Guys
As my old code is not working all I was hoping for is updated code for PB5.11 to Drag the Text
in a TextGadget and Drop the text into a StringGadget on the same window.
If it means only workable in my own project then so be it.
If there is another method to achieve this can somebody post me ...
As my old code is not working all I was hoping for is updated code for PB5.11 to Drag the Text
in a TextGadget and Drop the text into a StringGadget on the same window.
If it means only workable in my own project then so be it.
If there is another method to achieve this can somebody post me ...
- Mon May 12, 2014 2:03 pm
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Re: Drag/Drop Text Not working
Hey Guys,
I only want some code to drag the text in a TextGadget to a StringGadget on the same window
using Windows7 Professional 32Bit. If it will only be of use in my own program then so be it.
If there is a another method to avoid using Drag Drop then I would appreciate the code.
I only want some code to drag the text in a TextGadget to a StringGadget on the same window
using Windows7 Professional 32Bit. If it will only be of use in my own program then so be it.
If there is a another method to avoid using Drag Drop then I would appreciate the code.
- Sun May 11, 2014 12:10 am
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Re: Drag/Drop Text Not working
Kuron
Thanks for reply.
Old code was written and working early 1913 using PB 4.61
Trying to use the identical code as posted in current project.
Yes the old code program will compile and run O.K under PB Version 5.11
Can you tell me where and when you posted the issues you refer to.
Maybe because of ...
Thanks for reply.
Old code was written and working early 1913 using PB 4.61
Trying to use the identical code as posted in current project.
Yes the old code program will compile and run O.K under PB Version 5.11
Can you tell me where and when you posted the issues you refer to.
Maybe because of ...
- Sat May 10, 2014 1:52 pm
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Re: Drag/Drop Text Not working
Zach
Did not think necessary for this post.
Not working code only snippets here and there from program
which is far too large to post here.
Thanks for looking anyway.
Did not think necessary for this post.
Not working code only snippets here and there from program
which is far too large to post here.
Thanks for looking anyway.
- Sat May 10, 2014 6:56 am
- Forum: Coding Questions
- Topic: Drag/Drop Text Not working
- Replies: 19
- Views: 2483
Drag/Drop Text Not working
Can some member tell me why the following code is not working now.
The exact same code in another program written some time ago
compiled quite O.K under PB5.11
Here is my entries in the window creation section.
;****************************************************************
EnableGadgetDrop ...
The exact same code in another program written some time ago
compiled quite O.K under PB5.11
Here is my entries in the window creation section.
;****************************************************************
EnableGadgetDrop ...
- Mon Oct 28, 2013 9:49 am
- Forum: General Discussion
- Topic: Bitdefender False? positive
- Replies: 6
- Views: 4034
Re: Bitdefender False? positive
Try this. worked for me using Windows7 Professional 32 Bit.
Check that Purebasic is pointing to the correct Folder with the compiler and Polink.exe present.
For some unknown reason when installing Bitdefender 2012 the Folder name was changed.
After correction no Polink Error and no infected files.
Check that Purebasic is pointing to the correct Folder with the compiler and Polink.exe present.
For some unknown reason when installing Bitdefender 2012 the Folder name was changed.
After correction no Polink Error and no infected files.
- Sat May 05, 2012 11:35 am
- Forum: Coding Questions
- Topic: String gadget and shorcut menu
- Replies: 3
- Views: 1095
Re: String gadget and shorcut menu
Hi Blendman,
Try this.
Enumeration 1
#Win_0
EndEnumeration
#WindowIndex = #PB_Compiler_EnumerationValue ; Next window value will be the last used plus 1
Enumeration 1
;All ShortCuts
#Shortcut_Menu_Test
EndEnumeration
#MenuIndex = #PB_Compiler_EnumerationValue ; Next window value will ...
Try this.
Enumeration 1
#Win_0
EndEnumeration
#WindowIndex = #PB_Compiler_EnumerationValue ; Next window value will be the last used plus 1
Enumeration 1
;All ShortCuts
#Shortcut_Menu_Test
EndEnumeration
#MenuIndex = #PB_Compiler_EnumerationValue ; Next window value will ...
- Sun Apr 22, 2012 10:20 am
- Forum: Coding Questions
- Topic: Date Gadget Not Working Correctly
- Replies: 4
- Views: 1421
Re: Date Gadget Not Working Correctly
Thanks Demivec see PM sent today.
Jumbuck
Jumbuck
- Tue Apr 17, 2012 8:01 am
- Forum: Coding Questions
- Topic: A Replacement For DateGadget
- Replies: 2
- Views: 893
Re: A Replacement For DateGadget
Thanks Rashad.
- Mon Apr 16, 2012 5:50 am
- Forum: Coding Questions
- Topic: A Replacement For DateGadget
- Replies: 2
- Views: 893
A Replacement For DateGadget
I found this while searching. Need something other than PB DateGadget and this appears
to be the answer.
Can somebody show me how to GET the displayed date INTO a STRING and how to
SET a date into the display FROM a STRING.
OpenWindow(0,200,200,200,200,"test",#PB_Window_SystemMenu)
picker1 ...
to be the answer.
Can somebody show me how to GET the displayed date INTO a STRING and how to
SET a date into the display FROM a STRING.
OpenWindow(0,200,200,200,200,"test",#PB_Window_SystemMenu)
picker1 ...
- Thu Apr 05, 2012 11:19 am
- Forum: Coding Questions
- Topic: Date Gadget Not Working Correctly
- Replies: 4
- Views: 1421
Date Gadget Not Working Correctly
Several programs written using a separate Events Handler for EACH Window were working just fine
until I tried to introduce PB's DATEGADGET into a window which I find will not work correctly.
Set up as gadget in my Emuneration section as #Gadget_ViewDate so should have it's own unique ID.
Set up in ...
until I tried to introduce PB's DATEGADGET into a window which I find will not work correctly.
Set up as gadget in my Emuneration section as #Gadget_ViewDate so should have it's own unique ID.
Set up in ...
- Tue May 31, 2011 5:31 am
- Forum: Coding Questions
- Topic: Printing Problem Using Version 4.51
- Replies: 3
- Views: 1743
Re: Printing Problem Using Version 4.51
Many thanks Walker.
FrontColor(RGB(0,0,0)) fixed the problem.
Jumbuck
FrontColor(RGB(0,0,0)) fixed the problem.
Jumbuck
- Mon May 30, 2011 7:26 am
- Forum: Coding Questions
- Topic: Printing Problem Using Version 4.51
- Replies: 3
- Views: 1743
Printing Problem Using Version 4.51
I have upgraded from version 4.40 to 4.51 but now find my printing routines developed under
version 4.40 will not work using version 4.51. Printer (Epson TX210) will only spit out blank pages.
Removed version 4.51 and Re-installed version 4.40 and now printing works again.
Here is example of my ...
version 4.40 will not work using version 4.51. Printer (Epson TX210) will only spit out blank pages.
Removed version 4.51 and Re-installed version 4.40 and now printing works again.
Here is example of my ...