Jump to content

Наложение всплывающих подсказок


x11

Recommended Posts

В компоненту uniDBLookupcombobox добавил триггер и для триггера указал всплывающую подсказку (Hint).

Проблема в том, что при наведении на кнопку триггера всплывает 2 подсказки, а должна всплывать только одна - для триггера.

Screenshot_12.jpg

Link to comment
Share on other sites

Что я делаю не так?
 


procedure SetHintToolTip(FormControl: TUniFormControl; const hint: string);
begin
  FormControl.ClientEvents.UniEvents.Values['afterrender'] :=
    'function afterrender(sender, eOpts) {Ext.create(''Ext.tip.ToolTip'', {target: sender.getEl(),html: "' + hint + '"});}';
end;



SetHintToolTip(lcbResp, 'відповідальний');

навел курсор - всплывающей подсказки нет

Screenshot_20.jpg

Link to comment
Share on other sites

После создания, в процедуре DoAfterCreate;
 

    with TfrdParentEditObj.Create(t) do
    begin
      Name     := 'frdParentEditObj' + T.PageIndex.ToString;
      Parent   := T;
      fCurrTabSheet := T;
      EditMode := aEditMode;
      IDObj    := idObject;

      DoAfterCreate;// вот здесь
      Show;
    end;

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...