I create two windows, each with a webgadget. One with #PB_Web_Edge and one without.
I then assign ShortCuts.
The window with #PB_Web_Edge does not recognize the shortcut.
If both webgadgets are used without #PB_Web_Edge, both shortcuts are recognized. If I then set the focus on the webgadget in ...
Search found 11 matches
- Sat Jan 25, 2025 1:44 pm
- Forum: Bugs - Windows
- Topic: ShortCuts: WebGadget with #PB_Web_Edge
- Replies: 0
- Views: 5484
- Fri Mar 22, 2024 7:52 pm
- Forum: Bugs - Windows
- Topic: [PB6.10B9] Problem #PB_Web_SelectedText and #PB_Web_Edge
- Replies: 3
- Views: 780
Re: [PB6.10B9] Problem #PB_Web_SelectedText and #PB_Web_Edge
Thank you for the explanation.
Ingo
Ingo
- Fri Mar 22, 2024 10:40 am
- Forum: Bugs - Windows
- Topic: [PB6.10B9] Problem #PB_Web_SelectedText and #PB_Web_Edge
- Replies: 3
- Views: 780
[PB6.10B9] Problem #PB_Web_SelectedText and #PB_Web_Edge
I want to select and read text in a web gadget using the following code:
Procedure Event_Browser()
Select EventType()
Case #PB_EventType_PopupMenu
Debug GetGadgetItemText(0, #PB_Web_PageTitle )
Debug GetGadgetItemText(0, #PB_Web_SelectedText )
EndSelect
EndProcedure
If OpenWindow(0, 0, 0 ...
Procedure Event_Browser()
Select EventType()
Case #PB_EventType_PopupMenu
Debug GetGadgetItemText(0, #PB_Web_PageTitle )
Debug GetGadgetItemText(0, #PB_Web_SelectedText )
EndSelect
EndProcedure
If OpenWindow(0, 0, 0 ...
- Sat Dec 23, 2023 12:11 am
- Forum: Announcement
- Topic: PureBasic 6.10 LTS is out !
- Replies: 344
- Views: 108069
Re: PureBasic 6.10 beta 1 - Xmas Release - is out !
#PB_EventType_Refresh is not found
- Wed Dec 18, 2019 11:05 pm
- Forum: Applications - Feedback and Discussion
- Topic: Amitris Design Environment
- Replies: 22
- Views: 14886
Re: Amitris Design Environment
If you create a checkbox and select State Inbetween, you get the message that ThreeState is not set. So far ok.
If you now set ThreeState, you get the hint again. If you delete ThreeState again, there is no hint and Inbetween remains.
If you now set ThreeState, you get the hint again. If you delete ThreeState again, there is no hint and Inbetween remains.
- Tue Aug 20, 2019 1:00 pm
- Forum: Coding Questions
- Topic: Wrong value for CountGadgetItems at Treegadget
- Replies: 7
- Views: 2902
Re: Wrong value for CountGadgetItems at Treegadget
Ok, even if the CountGadgetItems function returns the correct value, based on the AddGadgetItem function, although the TreeGadget displays a different number of entries, then the different handling of the "wrong" levels in MacOS and Windows is a bug in any case.
- Tue Aug 20, 2019 7:19 am
- Forum: Coding Questions
- Topic: Wrong value for CountGadgetItems at Treegadget
- Replies: 7
- Views: 2902
Re: Wrong value for CountGadgetItems at Treegadget
I tested with MacOS Mojave and PureBasis 5.70. 3 entries are displayed:
2010
2011
2013
But CountGadgetItems returns 7. This is wrong because only three items are displayed.
2010
2011
2013
But CountGadgetItems returns 7. This is wrong because only three items are displayed.
- Mon Aug 19, 2019 8:28 am
- Forum: Coding Questions
- Topic: Wrong value for CountGadgetItems at Treegadget
- Replies: 7
- Views: 2902
Re: Wrong value for CountGadgetItems at Treegadget
The error in MacOS is that the value of CountGadgetItems does not match the number of items in the TreeGadget.
I have deliberately specified level 2 as this will cause the error. If you specify a wrong level, PureBasic should either report an error, correct the error (as in Windows) on its own or ...
I have deliberately specified level 2 as this will cause the error. If you specify a wrong level, PureBasic should either report an error, correct the error (as in Windows) on its own or ...
- Wed Aug 14, 2019 11:25 pm
- Forum: Coding Questions
- Topic: Wrong value for CountGadgetItems at Treegadget
- Replies: 7
- Views: 2902
Wrong value for CountGadgetItems at Treegadget
Example
If OpenWindow(0, 216, 0, 290, 530, "", #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
TreeGadget(1, 30, 30, 230, 380)
AddGadgetItem(1,-1,"2010",0,0)
AddGadgetItem(1,-1,"2011",0,0)
AddGadgetItem(1,-1,"2012",0,2)
AddGadgetItem(1,-1,"2013",0,0)
AddGadgetItem(1 ...
If OpenWindow(0, 216, 0, 290, 530, "", #PB_Window_SystemMenu | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
TreeGadget(1, 30, 30, 230, 380)
AddGadgetItem(1,-1,"2010",0,0)
AddGadgetItem(1,-1,"2011",0,0)
AddGadgetItem(1,-1,"2012",0,2)
AddGadgetItem(1,-1,"2013",0,0)
AddGadgetItem(1 ...
- Sun Aug 04, 2019 11:38 pm
- Forum: Mac OSX
- Topic: Module TableView Colors (ListViewGadget and ListIconGadget)
- Replies: 8
- Views: 10687
- Sun Aug 04, 2019 12:00 am
- Forum: Mac OSX
- Topic: Module TableView Colors (ListViewGadget and ListIconGadget)
- Replies: 8
- Views: 10687
Re: Module TableView Colors (ListViewGadget and ListIconGadg
If you display an icon in the ListIconGadget, "SetSelectionColor" and marking a line causes an error message
[ERROR] Object does not respond to method "setTextColor:"
Example:
UseModule TableViewColor
UseTableViewColor()
CreateImage(0,16,16,32, #White )
If StartDrawing(ImageOutput(0 ...
[ERROR] Object does not respond to method "setTextColor:"
Example:
UseModule TableViewColor
UseTableViewColor()
CreateImage(0,16,16,32, #White )
If StartDrawing(ImageOutput(0 ...