If *widget = #Null
Select Position
Case #PB_List_First : *widget = *this\_parent( )\first\widget
Case #PB_List_Before : *widget = *this\before\widget
Case #PB_List_After : *widget = *this\after\widget
Case #PB_List_Last : *widget = *this\_parent( )\last\widget
EndSelect
EndIf
If *widget ...
Die Suche ergab 15 Treffer
- 24.11.2022 06:51
- Forum: Feedback - Anwendungen
- Thema: [IDE-Tool]Einruecker
- Antworten: 80
- Zugriffe: 53841
- 17.06.2021 19:21
- Forum: Anfänger
- Thema: SplitterGadget Trennbalkens
- Antworten: 2
- Zugriffe: 1028
Re: SplitterGadget Trennbalkens
Enumeration
#Window_data
#containerG
#titleG
#listG
#containerSG
#titleSG
#listSG
#Splitter
EndEnumeration
#rand = 20
If OpenWindow(#Window_data, 0, 0, 250+#rand, 200, "Test", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
ContainerGadget(#containerG, 0 ...
#Window_data
#containerG
#titleG
#listG
#containerSG
#titleSG
#listSG
#Splitter
EndEnumeration
#rand = 20
If OpenWindow(#Window_data, 0, 0, 250+#rand, 200, "Test", #PB_Window_SystemMenu | #PB_Window_SizeGadget | #PB_Window_ScreenCentered)
ContainerGadget(#containerG, 0 ...
- 10.07.2019 06:58
- Forum: Code, Tipps und Tricks
- Thema: [Module] Probleme & Lösungen (all OS)
- Antworten: 5
- Zugriffe: 2097
Re: [Module] Probleme & Lösungen (all OS)
MacOS
2D - Drawing
ClipOutput() / UnclipOutput() führen zu fehlerhafter Darstellung von Text usw.
meine entscheidung
CompilerIf #PB_Compiler_OS = #PB_OS_MacOS
Global _drawing_mode_
Macro PB(Function)
Function
EndMacro
Macro DrawingMode(_mode_)
PB(DrawingMode)(_mode_) : _drawing ...
2D - Drawing
ClipOutput() / UnclipOutput() führen zu fehlerhafter Darstellung von Text usw.
meine entscheidung
CompilerIf #PB_Compiler_OS = #PB_OS_MacOS
Global _drawing_mode_
Macro PB(Function)
Function
EndMacro
Macro DrawingMode(_mode_)
PB(DrawingMode)(_mode_) : _drawing ...
- 25.12.2018 07:49
- Forum: Allgemein
- Thema: "Gadget(s)" für Zeiteingabe gesucht
- Antworten: 45
- Zugriffe: 25977
Re: "Gadget(s)" für Zeiteingabe gesucht
I'm trying to understand what you are doing, so you can write the requirements for "control-time"?
What should he do?
When should I do?
How to do?
What should he do?
When should I do?
How to do?
- 05.10.2017 22:02
- Forum: Anfänger
- Thema: String mit regulärem Ausdruck splitten?
- Antworten: 11
- Zugriffe: 3675
Re: String mit regulärem Ausdruck splitten?
im englischen forum war vor kurzem eine aehnliche frage, da wollte jemand sowas parsen (leerzeichen-getrennte liste aus [geschachtelten] funtionsaufrufen) :
Nicht jemand aber selbst mestnyi.
Vielleicht war ich zu spät, ich war weg.
mit einem regulären Ausdruck:
EnableExplicit
Enumeration ...
Nicht jemand aber selbst mestnyi.
Vielleicht war ich zu spät, ich war weg.
mit einem regulären Ausdruck:
EnableExplicit
Enumeration ...
- 30.10.2016 21:11
- Forum: Allgemein
- Thema: Gadget für CanvasGadget
- Antworten: 17
- Zugriffe: 7819
Re: Gadget für CanvasGadget
TextWidth() work bad
EnableExplicit
Enumeration
#Window
#Gadget
#Gadget1
#Timer
EndEnumeration
Structure StringEditor
String.s ; veränderbare Zeichenkette
CursorPosition.i ; aktuelle Cursorposition
FixCursorPosition.i ; verankerte Cursorposition
CursorLength.i
Time.i
Array Length.i(0 ...
EnableExplicit
Enumeration
#Window
#Gadget
#Gadget1
#Timer
EndEnumeration
Structure StringEditor
String.s ; veränderbare Zeichenkette
CursorPosition.i ; aktuelle Cursorposition
FixCursorPosition.i ; verankerte Cursorposition
CursorLength.i
Time.i
Array Length.i(0 ...
- 12.10.2015 05:43
- Forum: Code, Tipps und Tricks
- Thema: Modul MouseOver
- Antworten: 25
- Zugriffe: 10638
Re: Modul MouseOver
Bug beim "Init"
PB_Gadget_Objects.i - dieses
PB_Window_Objects.i - stattdessen?
Ich habe gesehen. :D
und, was ist interessant, unter dem Cursor Frame Gadget sehen?
In Windows Textgadget erfordert flag '# SS_NOTIFI ", um das Click-Ereignis zu definieren
Es muss eine Flagge, um Linux zu Frame ...
PB_Gadget_Objects.i - dieses
PB_Window_Objects.i - stattdessen?
Ich habe gesehen. :D
und, was ist interessant, unter dem Cursor Frame Gadget sehen?
In Windows Textgadget erfordert flag '# SS_NOTIFI ", um das Click-Ereignis zu definieren
Es muss eine Flagge, um Linux zu Frame ...
- 10.10.2015 23:10
- Forum: Code, Tipps und Tricks
- Thema: Modul MouseOver
- Antworten: 25
- Zugriffe: 10638
Re: Modul MouseOver
"FrameGadget" es wird nicht definiert,
;- Example 1
CompilerIf #PB_Compiler_IsMainFile
Enumeration FormWindow
#Window_0
EndEnumeration
Enumeration FormGadget
#Frame_1 = 5
#Button_1
EndEnumeration
Procedure OpenWindow_0(x = 0, y = 0, width = 610, height = 400)
OpenWindow(#Window_0 ...
;- Example 1
CompilerIf #PB_Compiler_IsMainFile
Enumeration FormWindow
#Window_0
EndEnumeration
Enumeration FormGadget
#Frame_1 = 5
#Button_1
EndEnumeration
Procedure OpenWindow_0(x = 0, y = 0, width = 610, height = 400)
OpenWindow(#Window_0 ...
- 10.10.2015 21:44
- Forum: Anfänger
- Thema: Prüfen, ob eine Adresse auf eine Procedure zeigt
- Antworten: 33
- Zugriffe: 5281
Re: Prüfen, ob eine Adresse auf eine Procedure zeigt
Code: Alles auswählen
CompilerIf Defined(ProcedureName, #PB_Procedure)
Debug "#True"
CompilerEndIf
- 28.07.2015 02:25
- Forum: Code, Tipps und Tricks
- Thema: Modul MouseOver
- Antworten: 25
- Zugriffe: 10638
Re: Modul MouseOver
CompilerCase #PB_OS_Linux
; Code ?
Protected desktop_x,desktop_y, *Widget.GtkWidget = gdk_window_at_pointer_(@desktop_x,@desktop_y)
If (desktop_x <>-1 Or desktop_y <>-1)
gdk_window_get_origin_(*Widget\object,@desktop_x,@desktop_y)
handle = *Widget
EndIf
; Code ?
Protected desktop_x,desktop_y, *Widget.GtkWidget = gdk_window_at_pointer_(@desktop_x,@desktop_y)
If (desktop_x <>-1 Or desktop_y <>-1)
gdk_window_get_origin_(*Widget\object,@desktop_x,@desktop_y)
handle = *Widget
EndIf