How to show a none modal form which stays on top?

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
Post Reply
en-cOder
Posts: 4
Joined: Wed Dec 25, 2013 1:48 am
Location: Liverpool, UK

How to show a none modal form which stays on top?

Post by en-cOder »

I would like to display a form that is none modal which stays on top of the editor window, like the search dialogue. if I use f.Show instead of f.ShowModal the form disappears when you click on the document to place the cursor.

Can you tell me the correct command to achieve this please?

Thanks.
User avatar
Aivars
Blumentals Software Developer
Posts: 2462
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia

Re: How to show a none modal form which stays on top?

Post by Aivars »

f.FormStyle = 3;
f.Show;

This is an undocumented feature, use with care!
Blumentals Software Programmer
Post Reply