Jump to content


Photo

Need Editing features...


  • Please log in to reply
3 replies to this topic

#1 Stefano Monterisi

Stefano Monterisi

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 111 posts

Posted 20 June 2017 - 04:10 PM

Hi Farshad,

Autoselect property is missed in DBedit and other edit components. We need it when change focus field to field, so it's easy modify numeric values.

(Naturally at client level).

I have also noted that after editing, "displayformat" property in dataset field  is not update without a dataset refresh;

(I must write also virtual scrolling, or not? :-) )

Good Job,

Stefano


  • 0

#2 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3475 posts

Posted 20 June 2017 - 05:32 PM

Hi,

 

Autoselect property is missed in DBedit and other edit components. We need it when change focus field to field, so it's easy modify numeric values.

 

For now you can use MainModule, MainForm -> NavigateKeys -> SelectText property for this.

 

Best regards,


  • 0

#3 Stefano Monterisi

Stefano Monterisi

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 111 posts

Posted 21 June 2017 - 09:41 AM

Hi,

my editors are all on frames.... and it seems that your suggestion don't works in my situation.

(any workaround?)

Thanks a lot,

 

Best Regards,


  • 0

#4 Delphi Developer

Delphi Developer

    Advanced Member

  • Moderators
  • 3475 posts

Posted 21 June 2017 - 09:51 AM

Hi,

 

OK, you can use selectOnFocus config for this

 

for example:

UniEdit1.JSInterface.JSConfig('selectOnFocus', ['true']);

or

 

ClientEvents -> UniEvents -> beforeInit fn:

function beforeInit(sender, config)
{
    config.selectOnFocus=true;
}

Best regards,


  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users