DynamicDialogs - komplexe dynamische GUIs einfach erstellen.

Hier könnt Ihr gute, von Euch geschriebene Codes posten. Sie müssen auf jeden Fall funktionieren und sollten möglichst effizient, elegant und beispielhaft oder einfach nur cool sein.
Benutzeravatar
Andre
PureBasic Team
Beiträge: 1754
Registriert: 11.09.2004 16:35
Computerausstattung: MacBook Core2Duo mit MacOS 10.6.8
Lenovo Y50 i7 mit Windows 10
Wohnort: Saxony / Deutscheinsiedel
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von Andre »

PureLust hat geschrieben:
Andre hat geschrieben:Vielleicht ist es ja wirklich auch an der Zeit, dieses im engl. Forum zu veröffentlichen. Mehr als gut genug ist es schon längst :allright:
=> Erledigt !!! :D
Sehr schön. Ich habe dort eben auch einen entsprechenden Kommentar verfasst und hoffe jetzt, dass du noch viel mehr (wohlverdiente!) Aufmerksamkeit bekommst... :D

Was deine vorhergehende Frage angeht: ich nutze wie bekannt die 'plain' Variante des Moduls, benötige also den Extra-Aufwand für Präfixe und Suffixe nicht wirklich. :wink:
Bye,
...André
(PureBasicTeam::Docs - PureArea.net | Bestellen:: PureBasic | PureVisionXP)
Benutzeravatar
Sicro
Beiträge: 955
Registriert: 11.08.2005 19:08
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von Sicro »

Ausgepacktes Download-Paket wird zur direkten Verwendung in das CodeArchiv unter Windows_and_Events/DynamicDialogs/ hinzugefügt.
Bild
Warum OpenSource eine Lizenz haben sollte :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (Syntax-Farbschema) :: RegEx-Engine (kompiliert RegExes zu NFA/DFA)
Manjaro Xfce x64 (Hauptsystem) :: Windows 10 Home (VirtualBox) :: Neueste PureBasic-Version
Benutzeravatar
PureLust
Beiträge: 1145
Registriert: 21.07.2005 00:02
Computerausstattung: Hab aktuell im Grunde nur noch 'nen Lenovo Yoga 2 Pro im Einsatz.
Wohnort: am schönen Niederrhein

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von PureLust »

Moin zusammen, ... neue Version mit ein paar Bugfixes und Andrés GUI im Demo-Verzeichnis online.
[Dynamic-Dialogs] - komplexe dynamische GUIs einfach erstellen
[DeFlicker] - Fenster flimmerfrei resizen
[WinFX] - Window Effekte (inkl. 'durchklickbares' Window)
Benutzeravatar
Sicro
Beiträge: 955
Registriert: 11.08.2005 19:08
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von Sicro »

Es wäre super, wenn du noch folgende Kleinigkeiten in den Codes deiner ZIP-Datei korrigierst:

Code: Alles auswählen

Check file: DynamicDialogs/IDE-Indentation Help-Tool/Demo for Suffix-Indentation.pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 5 - File not found (DynamicDialogs/IDE-Indentation Help-Tool/DynamicDialogs_suffixed.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_2.pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 5 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_suffixed.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo - GeoWorld Editor (by Andr‚ Beer).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 1 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_plain.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo - ImageResize.pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 1 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_plain.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Showcase for Suffix-Indentation.pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 6 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_plain.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_Michael_Vogels_Dialog.pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 11 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_plain.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_1 (using DynamicDialogs).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 5 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_plain.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Simple-Demo (Forum-Example).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 1 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_suffixed.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_1 (using DynamicDialogs_suffixed and injected Indentation).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 7 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_suffixed.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_3_2 - Font & ImageID (by IDonly).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 5 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_suffixed_IDOnly.pbi).

++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Check file: DynamicDialogs/Demos/Demo_3_1 - Font & ImageID (by NameOnly).pb
******************************************
PureBasic 5.60 (Linux - x64)
******************************************
Loading external modules...
Starting syntax check...
Starting compilation...
Error: Line 5 - File not found (DynamicDialogs/Demos/..\DynamicDialogs_suffixed_NameOnly.pbi).
Bild
Warum OpenSource eine Lizenz haben sollte :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (Syntax-Farbschema) :: RegEx-Engine (kompiliert RegExes zu NFA/DFA)
Manjaro Xfce x64 (Hauptsystem) :: Windows 10 Home (VirtualBox) :: Neueste PureBasic-Version
Benutzeravatar
Andre
PureBasic Team
Beiträge: 1754
Registriert: 11.09.2004 16:35
Computerausstattung: MacBook Core2Duo mit MacOS 10.6.8
Lenovo Y50 i7 mit Windows 10
Wohnort: Saxony / Deutscheinsiedel
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von Andre »

Sirco hat geschrieben:Es wäre super, wenn du noch folgende Kleinigkeiten in den Codes deiner ZIP-Datei korrigierst:
Ohne jetzt auf Linux testen zu können, deuten die Fehlermeldungen auf Probleme in der Verwendung von "/" bzw. "\" in den Pfadangaben hin. Da ist Windows universeller, jedoch Linux und MacOS pingeliger... :mrgreen:
Bye,
...André
(PureBasicTeam::Docs - PureArea.net | Bestellen:: PureBasic | PureVisionXP)
Benutzeravatar
Sicro
Beiträge: 955
Registriert: 11.08.2005 19:08
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von Sicro »

Ja, Andre, die Ursache der oben genannten Probleme ist mir bekannt.

Die Probleme mit den Schrägstrichen bei den Pfadangaben habe ich korrigiert. Danach sind noch weitere Fehler aufgetaucht, die nun ebenfalls korrigiert sind (betrafen auch OS <> Linux).

Aktuelle Codes sind vo­r­ü­ber­ge­hend hier zu finden:
https://github.com/SicroAtGit/PureBasic ... micDialogs
Bild
Warum OpenSource eine Lizenz haben sollte :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (Syntax-Farbschema) :: RegEx-Engine (kompiliert RegExes zu NFA/DFA)
Manjaro Xfce x64 (Hauptsystem) :: Windows 10 Home (VirtualBox) :: Neueste PureBasic-Version
shim
Beiträge: 65
Registriert: 12.09.2004 23:09

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von shim »

Hallo!

Ich bin gerade dabei meine interne Skriptsprache um die "Dialogerstellung on the fly" zu ergänzen und stolperte über die Umsetzung des "web__"-Befehls.


DynamicsDialogs_Mainmodule

Code: Alles auswählen

Macro Auswertung_Parameter_URL															; Macro für Parameter: URL$
			If Len(URL$)	:	xml$	+	" text='"+T2H(URL$)+"'" : EndIf
		EndMacro
im Originalcode ist hier statt "xml$ +..."
"url$ + ..." was dann zur Folge hat, das die Webseite nicht geladen wird, weil der XML-Code nicht korrekt ist.

Bislang klappt alles super. Vielen Dank für dieses Modul!
oO0XX0Oo
Beiträge: 55
Registriert: 21.07.2017 22:36

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von oO0XX0Oo »

Hallo,

ich habe mir aus dem GitHub repository (https://github.com/SicroAtGit/PureBasic ... iv-Rebirth)
die neueste Version ausgechecked.

Danach lade ich die "Demo - GeoWorld Editor (by Andre Beer).pb"
in PureBasic, aber wenn ich sie compilieren will, bekomme ich:
Line 906: RefreshDialog() is not a function, array, list, map or macro.
Zeile 906 sieht so aus:

Code: Alles auswählen

				If Refresh_Dialog : RefreshDialog(DialogID) : EndIf
Liegt es an meiner PureBasic version oder warum läuft das nicht?

Ich benutze hier immer noch die v5.3.1 x86-er Version (ein Update war
mal fehlgeschlagen, deshalb hatte ich noch nicht wieder versucht, auf
eine neuere zu aktualisieren...
Benutzeravatar
RSBasic
Admin
Beiträge: 8022
Registriert: 05.10.2006 18:55
Wohnort: Gernsbach
Kontaktdaten:

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von RSBasic »

oO0XX0Oo hat geschrieben:Liegt es an meiner PureBasic version oder warum läuft das nicht?
Ja, diese Funktion gibt es erst ab Version 5.40.
Aus privaten Gründen habe ich leider nicht mehr so viel Zeit wie früher. Bitte habt Verständnis dafür.
Bild
Bild
oO0XX0Oo
Beiträge: 55
Registriert: 21.07.2017 22:36

Re: DynamicDialogs - komplexe dynamische GUIs einfach erstel

Beitrag von oO0XX0Oo »

Ok, danke für die schnelle Antwort!
Antworten