Member
Last active [hidden]
Good morning,
A runtime error occurs for CreoPlayer but is fine for the simulator ; computed property
get {
return _formatdate;
}
set {
_formatdate = value;
Console.write(value);
date.text = value[0...9];
}
TIA
Good morning ,
For this snippet ; Works in the Simulator
if ( column == 0) {
PickerView1.selectRowInComponent(row, 1, true);
} else if ( column == 1) {
PickerView1.selectRowInComponent(row, 0, true);
}
generates an error in runtime
Thanks
Joel
After cycling through objects the attributes become available
When placing a button the attributes - title, image , background - are greyed out when an input view is used. They cannot be set.
I also have an issue with changing a TextView.text object when under animation as well . This is more involved as it is populated by a query in a view during the animation ;
identifier = cell.identifier
PostgreSQL1.connect();
var sql = 'SELECT * FROM "Chart_Odont_Repository_Note" WHERE "id" = \(cell.identifier)';
var rs = PostgreSQL1.select(sql);
Console.write(PostgreSQL1.errorMessage);
Procedure.noteText.text = Procedure.noteText.text + "\n" + rs.note;
Procedure.View2.hidden = true;
Keyboard.hide();
The Procedure.noteText.text appears correct but is not updated in Postgres , the original text is though. No postgres errors
Hi,
There may be an issue with a segmented control within an input view, multiple segments are selected ( previous segment is not released) . This isn't the case with a segmented control ( same code) within a window[attachment:5de065b83b3db]
Thanks
Joel
There may be an issue with TextView.animation and changing the text colour.
When animating TextView ( to rise above the keyboard) DidBeginEditing, DidEndEditing it works well when the text colour is not changed. However when the text colour is changed ( to stand out from the background ) the new text is not saved .
DidBeginEditing;
TextView1.animate(1.0, 0.8, '', {
TextView1.backgroundColor = Color.yellow
TextView1.frame.y = 250;
TextView1.textColor = Color.red;
}, null)
DidEndEditing
TextView1.animate(1.0, 0.8, '', {
TextView1.backgroundColor = Color.black
TextView1.frame.y = 611;
TextView1.textColor = Color.white;
}, null)
got it, if ( t != null ) { should be if ( t != "" ) {
For a computed property in a list to format a date - 2019-10-08 00:00:00 to 2019-10-08
get {
return _d;
}
set {
_d = value;
var t = String(value);
if ( t != null ) {
date.text = t[0...9];
}
}
Runtime Error
Out of bounds error: first_index 0 beyond bounds 0...-1
Can't see why as this works -
var d = String(TextField1.text);
TextField2.text = d[0...9];
related to list ?
The only modal form sizes that seem different from full screen are page sheet and form sheet. Can these be adjusted and if fixed what are the parameters for design mode ?