ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to use ShowTempHourglass ?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

326 Posts

Posted - Mar 05 2024 :  12:44:28  Show Profile  Reply
I tried to do

ShowTempHourglass();

ImageEnView1->IO->Params->ImageIndex = 0;
ImageEnView1->IO->LoadFromFile(opniedlg1->Filename);

but the cursor does not change

xequte

38459 Posts

Posted - Mar 05 2024 :  14:01:11  Show Profile  Reply
What version of BCB do you use?

How about if you wrap your code in:

  Screen.Cursor := crHourglass;
  ...
  Screen.Cursor := crDefault;


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

graph_man

326 Posts

Posted - Mar 06 2024 :  07:40:48  Show Profile  Reply
C++ Builder 2010

> How about if you wrap your code in:

of course it works
Go to Top of Page

xequte

38459 Posts

Posted - Mar 06 2024 :  18:52:08  Show Profile  Reply
BCB must handle the interface destruction differently. Best to avoid using.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

graph_man

326 Posts

Posted - Mar 07 2024 :  06:36:54  Show Profile  Reply
Thanks
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: