procedure TUniMainModule.UniGUIMainModuleNewComponent(AComponent: TComponent);
begin
if AComponent is TUniForm then
(AComponent as TUniForm).RTL := UniMainModule.RTL;
end;
the above code not work?
UniMainModule.RTL:=true;
MainForm.RTL:=True;
I have more than 200 form in the project.
thanks in advance
I have using unimDBlistgrid with template
I want to scroll to last record
I can't find a working solution yet.
my uni version is 1.0.0.1425 and i will renew soon
thanks in advance
hi
How can it be done in uniGui Touch?
(prevent full page scrolling in ios safari)
this is solution used for react native
how we can use with unigui
body scroll lock
Best Regards
Thanks all
my problem in javascript code
finally I slove it by this code
s:='function specialkey(sender, e, eOpts) '+
' { '+
' if (!(e.shiftKey) && (e.getKey() == 13))'+
' { '+
' e.stopEvent(); '+
' '+FindAccountFrame.cmbAccount.JSName+'.focus();'+
' }'+
' }';
cmbType.ClientEvents.ExtEvents.Values['specialkey']:=s;
but why frmOrder.FindAccountFrame.cmbAccount.focus(); not work?
i have a frame as Component (TFindAccountFrame) this frame contain a combobox named cmbAccount I want to move the focus from a control to cmbAccount by Enter key
but this code note work : frmOrder.FindAccountFrame.cmbAccount.focus();
How I can get the right name of cmbAccount in specialkey evevt.
thanks
function specialkey(sender, e, eOpts)
{
if (! (e.shiftKey) && (e.getKey () == 13))
{
e.stopEvent ();
frmOrder.FindAccountFrame.cmbAccount.focus();
}
}
I want to set focus of cmbAccount control
cmbAccount is owned by FindAccountFrame frame.
thanks for help