2013-08-19 12:05 UTC
I have a TXT, justification right, and a long string (Path) with spaces.
Problem:
The dialogue displays only the first part of the string, until the space: "H:\Eigene"
Example from Textscreen ("Befehl" = "Command"):
OpenDCL Laufzeitumgebung [7.0.0.12] wurde geladen
Befehl: (dcl_control_getproperty attrib_fill_dialog_txtsteuerdatei1 "Caption")
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
Befehl: (setq x (dcl_control_getproperty attrib_fill_dialog_txtsteuerdatei1
"Caption"))
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
Befehl: (type x)
STR
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption" x)
T
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption"
"das ist ein text")
T
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption" x)
T
Befehl: !x
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
- The space itself is not the problem, because "das ist ein text" works fine.
- The width of the TXT-field is enough to display the string
- Also the value is OK, it works with entire string, but display only a part.
- But you can see it above:
Autocad makes a CR/LF in the space because it is too long for textscreen. Maybe this is the reason?
Problem:
The dialogue displays only the first part of the string, until the space: "H:\Eigene"
Example from Textscreen ("Befehl" = "Command"):
OpenDCL Laufzeitumgebung [7.0.0.12] wurde geladen
Befehl: (dcl_control_getproperty attrib_fill_dialog_txtsteuerdatei1 "Caption")
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
Befehl: (setq x (dcl_control_getproperty attrib_fill_dialog_txtsteuerdatei1
"Caption"))
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
Befehl: (type x)
STR
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption" x)
T
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption"
"das ist ein text")
T
Befehl: (dcl_control_setproperty attrib_fill_dialog_txtsteuerdatei1 "Caption" x)
T
Befehl: !x
"H:\\Eigene
Dateien\\Vorlagen_CAD\\Plankopf_Langenthal\\Plankopf_DWG-Neu_GLP.ini"
- The space itself is not the problem, because "das ist ein text" works fine.
- The width of the TXT-field is enough to display the string
- Also the value is OK, it works with entire string, but display only a part.
- But you can see it above:
Autocad makes a CR/LF in the space because it is too long for textscreen. Maybe this is the reason?