Project

General

Profile

Defect #591

Display of "text/text/ntextext" not working (text cutt)

Added by A. Stefanoni over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
Start date:
12/06/2012
Due date:
% Done:

0%

Estimated time:
Browser (if web client):
chrome

Description

The following Text (cPathFilNam) is not displayed correct (Print_Screen_01075.jpg)
cPathFilNam = "C:\\servoy_61_workspace\\ProzedDbStrukturAnalyseDoku\\GigDoodle\\from\\band_fld.txt" + "\\n" + "nicht vorhanden"

As a workarround, I do a utils.stringReplace(cPathFilNam, '\\\\', ' '), then it is displayed correct (with the blank instead of \\, there is no text missing)
(Print_Screen_01074.jpg)


Files

Print_Screen_01075.jpg (52.1 KB) Print_Screen_01075.jpg A. Stefanoni, 12/06/2012 10:27 AM
Print_Screen_01074.jpg (67.6 KB) Print_Screen_01074.jpg A. Stefanoni, 12/06/2012 10:27 AM

History

#2

Updated by Robert Ivens over 11 years ago

What dialog module version is this (i.e. the component version field above) ?

#3

Updated by A. Stefanoni over 11 years ago

I see that the browser masks the backslashes: What I mean: 'C: \\ servoy_61_workspace \\ ProzedDbStrukturAnalyseDoku \\GigDoodle \\ from \\ band_fld.txt' + '\\ n' + 'nicht vorhanden'

#4

Updated by A. Stefanoni over 11 years ago

oh my good.... I replace the backslashes with an * ...

'C:*servoy_61_workspace*ProzedDbStrukturAnalyseDoku*GigDoodle*from*band_fld.txt' + '*n' + 'nicht vorhanden'

The Version is 1.5.2 (Sorry !)

#5

Updated by Robert Ivens over 11 years ago

  • Status changed from New to In Progress
  • Component version changed from win xp to 1.5.2

I can make the message text a text_area field instead of a label. This will allow it to break off the text when it doesn't fit in the dialog.
Will implement this in next release (1.1.5 / 1.5.4)

#6

Updated by Robert Ivens over 11 years ago

  • Status changed from In Progress to Closed
#7

Updated by Robert Ivens over 11 years ago

  • Target version set to 1.5.4
#8

Updated by A. Stefanoni over 11 years ago

this all is just incredible ! Just made a ticket a view minutes ago, just downloaded the 1.5.4 and it works perfect.
great, thank you very much !

#9

Updated by A. Stefanoni over 11 years ago

I have a small suggestion ( msgText = _aArguments [ 1 ]; insted of _aArguments [ 0 ] ) on 3 last line of

function setupForm(_aArguments, _sIconStyle, _nDialogWidth, _nDialogHeight) {
......

msgText = _aArguments [ 1 ]; // old _aArguments [ 0 ]
controller.recreateUI();

.....
}

I did this in my code to make it working.

thank you and
regards

#10

Updated by A. Stefanoni over 11 years ago

I have a small suggestion ( msgText = _aArguments [ 1 ]; insted of _aArguments [ 0 ] ) on 3 last line of

function setupForm(_aArguments, _sIconStyle, _nDialogWidth, _nDialogHeight) {
......

msgText = _aArguments [ 1 ]; // old _aArguments [ 0 ]
controller.recreateUI();

I did this in my code to make it working.

thank you and
regards

#11

Updated by Robert Ivens over 11 years ago

Thanks. I will fix this regression.
Please open a new issue when you find something else.

Also available in: Atom PDF