Jump to content

2 problems with triggers


d.bernaert

Recommended Posts

Hi,

I'm facing a few issues with the triggers.

Problem 1: it does not scale the image. I have an image list with size 16x16. I put images in it with size 50 x 50 for sharpness. The trigger does not scale the images. but the grid does, see second screenshot.

Problem 2: imagelist icons coming from font awesome in the list are not shown at all, that's the first reason why I was trying with custom images.

Thx,

Dominique

image.png.3230e61ee7e1081f656a3fb278f9664c.png

image.png.29f0a021e491099fa2392a899c7be2a6.png

Link to comment
Share on other sites

Thx Farshad for the feedback.

I would also like to make a suggestion.

You have the option to make the triggers visible or not when the field is read-only but it would be nice if it would be visible to enable the triggers even if the field is read-only.

I sometimes use a read-only edit to display a value but would like to use a trigger to let the user select a value from a pop-up form.

Thx,

Dominique

Link to comment
Share on other sites

2 hours ago, d.bernaert said:

I would also like to make a suggestion.

You have the option to make the triggers visible or not when the field is read-only but it would be nice if it would be visible to enable the triggers even if the field is read-only.

I sometimes use a read-only edit to display a value but would like to use a trigger to let the user select a value from a pop-up form.

Hi Dominique,

If I understand you correctly, this is already implemented.

1. UniEdit.ReadOnly = True

2. UniEdit.ReadOnlyMode = urmNotEditable

 

  • Like 1
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
On 3/19/2020 at 5:56 PM, eduardosuruagy said:

??

Hi,

I'm sorry for the late response.

Did you mean this?: 

On 2/16/2020 at 6:54 PM, eduardosuruagy said:

If I have 3 triggers, can I disable only 1 of them?

Or have you already found a way?

Link to comment
Share on other sites

  • 3 months later...
On 7/9/2020 at 2:26 AM, easegura777 said:

If I have 2 triggers, can I disable only 1 of them?

procedure TMainmForm.UnimButton1Click(Sender: TObject);
begin
  UnimEdit1.JSInterface.JSCall('getTriggers().t1.setDisabled', [True]); //False
end;

 

  • Like 1
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...