Daniel Rutz

Member since: Tuesday, 28 October 2014
Last login: 7 years ago
Profile viewed: 1,255 views

Your Rank: 54
Points: 41

Daniel Rutz added a reply in discussion how to disable TEdit.Text upda... 8 years ago

Hallo David, thanks for your answer. I'm usingthe TEdit field to input GPS coordinates in two ways: 1) Manually with Keyboard 2) On a button click -> The text propertyof the TEdit field becomes the value of the GPS Sensor The 1st way works perfect, the 2nd way not. In the database there is always the value the userman...

Daniel Rutz added a reply in discussion Retrieving real gps status... 8 years ago

Hallo Luca I had similar problems, especially there is no way to obtain the gps accuracy. I'm now using the JLocationManager: [code type="xml"] {$IFDEF ANDROID} if not Assigned(FLocationManager) then begin LocationManagerService := SharedActivityContext.getSystemService(TJContext.JavaClass.LOCATION_SERVICE); F...

Daniel Rutz started a new discussion how to disable TEdit.Text upda... 8 years ago

Im using XE7 with Firemonkey. I have a TEdit Component with a binding to a database field (TLinkControlToField). It work's perfect if ikey in the text, the database is updated as expected. If i set the text-property in a Button.onClick Event (fldValue.Text := 'Hello')then the text will be changed as soon as i enter a text in an other TEdit Field...

Daniel Rutz added a reply in discussion Property MaxLength no effect o... 8 years ago

media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gifHallo Arturo   Today I made a test on an android 4.4 device and it doesn't work . All settings to .Text property does not change the displayed value. But reading the property gives the correct value.   Daniel...

Daniel Rutz added a reply in discussion Property MaxLength no effect o... 8 years ago

media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gifHallo Arturo   I'm with you, this is a solution for my problem. But i assumed this is part of the "Embarcadero Platform Independent" feature   ...

Daniel Rutz started a new discussion Property FilterChar no effect ... 8 years ago

I'm using XE7 and Firemonkey. Setting Property FilterChar on a TEdit-Component works perfect on Windows but has no effect on android. It seems to me this has a similar reason as my other post. I assume there is something wrong in the key handling on android. Any suggestions?...

Daniel Rutz added a reply in discussion Property MaxLength no effect o... 8 years ago

Hallo Sarina Thanks for your answer.  On Windows all key inputs after 20 character will be ignored. On Android i can input more than 20 character. After finish editing, the text property contains 20 characters!? But I would like to have the windows behaviour on android! Is that possible? Greetings from Switzerland...

Daniel Rutz started a new discussion Property MaxLength no effect o... 8 years ago

Hallo Ibind a TEdit Component to a nvarchar(20) database field. I set the MaxLength-Propertyto limit the maximum lenght of the text. In Windows this work's fine, on an android i am able to input more than 20 characters. Is this a bug or what i'm doing wrong? Any other suggestion to limit the input lenght? Daniel...

Daniel Rutz added a reply in discussion New Component disabled on Tool... 8 years ago

Hallo Sarina Defining the supported platforms works fine, many thanks. Do you have an answer for my second question?...

Daniel Rutz added a reply in discussion adding Object to TListViewItem... 8 years ago

Hallo Sarina Many thanks for your answer. I'm using a custom ListView Layout already. I'm trying to connect my business object to a list view item. It would be so easy by assigning it to the data property. I'm wondering why only TBitmap are accepted. The Data-Property takes a TValue Parameter. To my knowledge a TValue can store a TObj...

Daniel Rutz started a new discussion adding Object to TListViewItem... 8 years ago

Hallo Using XE7 I'm trying to add a Object to a TListViewItem using the Data Property of the TListViewItem like: oListViewItem.Data['ArticleObj'] := aArticle; Reading this will return allways nil. What i'm doing wrong? Is it impossible to store an Object in the Data?Assigningan Integer or a String in this way works fine....

Daniel Rutz added a reply in discussion TEdit Subclass invisible allwa... 8 years ago

media/editors/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gifThe hotfix does not solve my problem. But I found a solution on: https://forums.embarcadero.com/thread.jspa?messageID=676127&#676127 I'm wondering why this is necessary only on a TEdit subclass?    ...

Daniel Rutz started a new discussion TEdit Subclass invisible allwa... 8 years ago

Hallo I use Delphi XE7 Update 1 Icreatea TEdit Subclass namedTkEdit with the "New Component" wizard. If i drop onto a form the TkEdit Component is invisible but the cursor will change on over it. What am i doing wrong?...

Daniel Rutz is now ranked up to New Member... ! 8 years ago
Daniel Rutz started a new discussion New Component disabled on Tool... 8 years ago

Hallo I have made the example "Creating a Styled FireMonkey Component by Extending an Existing Component"as described in docwiki and I can dropthe TClockLabel component ontothe form. Afterchanging the Target Platform to Android the TClockLabel Component is not selectable anymore. Which steps are necessary to make the Component selectable on o...

Daniel Rutz added a reply in discussion Load String into TWebBrowser?... 8 years ago

Have you solved your problem? In XE7 there is a method LoadFromStrings....