Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/17/19 in all areas

  1. English: This example shows how to copy text using the clipboard but on the client side and not using the application memory area on the server. In other words, it's how you should do the "copy and paste" in uniGUI. Portuguese: Este exemplo mostra como copiar texto usando o clipboard mas no client-side e não usando a área de memória do aplicativo no servidor. Em outras palavras, é como se deve fazer o "copiar e colar" no uniGUI. Thanks to Sherzod Code: http://forums.unigui.com/index.php?/topic/6116-copy-paste-selected-text-in-tunimemo/&tab=comments#comment-31802 Moderator/ Staff: http://forums.unigui.com/index.php?/profile/906-sherzod/ Also, third party code from the web. Project available at https://unigui.express
    1 point
  2. function window.beforeInit(sender, config) { config.titlePosition=3; //config.titleAlign='right'; }
    1 point
  3. procedure TMainForm.UniButton1Click(Sender: TObject); begin Self.WebForm.JSInterface.JSCode('var me='#1'; if (me.maximized) {me.restore()} else {me.maximize()};'); end;
    1 point
  4. procedure TMainForm.UniFormCreate(Sender: TObject); begin with UniPanel1 do begin JSInterface.JSConfig('titlePosition', [1]); TitleAlign := taLeftJustify; end; end;
    1 point
  5. As a workaround, you can try to use this approach: procedure TMainForm.CloseMyForm2(Sender : TComponent; AResult : Integer); begin //UniEdit1.Setfocus; UniEdit1.JSInterface.JSCallDefer('focus', [False], 100); end;
    1 point
×
×
  • Create New...