Add ParentID argument to MessageRequester()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

Add ParentID argument to MessageRequester()

Post by uwekel »

Hi,

i did a search and would have bet to find a similar request, but i did not.

At the moment, the MessageRequester() is always centered to the screen when it pops up. It would be nice if it has a ParentID argument:

Code: Select all

MessageRequester(Title$, Text$, [ParentID [,Flags]])
If the ParentID of the calling window is set, the MessageRequester() should be centered to the parent window.

Thx, Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: Add ParentID argument to MessageRequester()

Post by Little John »

Yes, that would be useful.
+ 1
Post Reply