I was wondering if anyone knows how to move a dialog box pop-up to a specific pixel location on the screen. Right now I only know how to move the dialog box to one of the four cardinal directions (n,s,e,w), however I don't like how the box then is hugging the edge of the screen. Here's my code:
my @popup_opts = qw/-overanchor s -popanchor s/;
my $db_popup = $mW->Dialog(
@popup_opts,
-title => $selectedTest,
-buttons => [ 'Ok', 'Cancel' ],
-text => "Verify test parameters,\n then press Ok to proceed with tests.");
$db_popup->resizable( 0, 0 );
my $response = $db_popup->Show();
So right now, the overanchor and popanchor are displaying my box at the bottom edge of my main window.
Any suggestions would be appreciated.
Thank you!!
my @popup_opts = qw/-overanchor s -popanchor s/;
my $db_popup = $mW->Dialog(
@popup_opts,
-title => $selectedTest,
-buttons => [ 'Ok', 'Cancel' ],
-text => "Verify test parameters,\n then press Ok to proceed with tests.");
$db_popup->resizable( 0, 0 );
my $response = $db_popup->Show();
So right now, the overanchor and popanchor are displaying my box at the bottom edge of my main window.
Any suggestions would be appreciated.
Thank you!!