Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Kylix
VCLX
Align
Anchors
Constraints
Drag & Drop
MDI
MenuDesigner
QT
Styles
TActionList
TAnimate
TApplication
TBevel
TBitBtn
TBitmap
TBrush
TButton
TCanvas
TCheckBox
TCheckListbox
TClipBoard
TColorDialog
TComboBox
TControl
TControlBar
TCustomControl
TDirectory
TDirectoryTreeView
TDrawGrid
TDrawing
TEdit
TFileEdit
TFileHistoryComboBox
TFileIconView
TFileListView
TFilterComboBox
TFindDialog
TFont
TFontDialog
TForm
TFrame
TGraphic
TGroupBox
THeaderControl
Themes
THint
TIcon
TIconView
TImage
TImageList
TLabel
TLCDNumber
TListBox
TListView
TMainMenu
TMaskEdit
TMemo
TMenuItem
TMouse
TOpenDialog
TPageControl
TPaintBox
TPalette
TPanel
TPen
TPicture
TPopupMenu
TPrinter
TPrinterDialog
TProgressBar
TRadioButton
TRadioGroup
TReplaceDialog
TRichEdit
TSaveDialog
TScreen
TScrollbar
TScrollBox
TShape
TSpeedButton
TSpinEdit
TSplitter
TStatusBar
TStringGrid
TTabControl
TTextBrowser
TTextViewer
TTimer
TToolbar
TTrackBar
TTreeView
TWidgetControl
You are not logged in.
Help
Print
Public Report
Report From:
Kylix/VCLX/TApplication
[ Add a report in this area ]
Report #:
3193
Status:
Open
application.messagebox delayes focuschange
Project:
Kylix
Build #:
4.186
Version:
3.0
Submitted By:
Martin Schreiber
Report Type:
Minor failure / Design problem
Date Reported:
12/20/2002 8:18:33 AM
Severity:
Infrequently encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
Kylix Pascal IDE
Internal Tracking #:
158280
Resolution:
None
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
(3 Total Ratings)
4.00 out of 5
Total Votes:
None
Description
QForms.TApplication.MessageBox does not reactivate the activeform and blocks focuschange until application.processmessages is called. On Windows this problem does not exist.
Problem:
procedure TCustomForm.SetWidgetFocus;
.......
QWidget_setFocus(FocusControl.Handle);
<- after execution of TApplication.Messagebox Qt does not send a QEventType_FocusIn event to FocusControl, it post it to the queue.
System: SuSe 8.1, KDE 3.0.3
Steps to Reproduce:
1. Download and run the attached project.
2. Click 'run testcase with messagebox'.
3. In messagebox click 'OK'.
// Exp: widget2.focused = true (the same as on windows)
// Act: widget2.focused = false.
5. Click 'run testcase without messagebox'.
6. widget2.focused = true.
// Exp: widget2.focused = true (the same as on windows)
// Act: widget2.focused = true (no problem here)
Workarounds
None
Attachment
3193.zip
Comments
Matthias Thoma at 2/22/2003 2:52:47 PM
-
Please add *complete* steps which illustrate what actualy happens, what you expect and do not forget to mention which system/windowmanager you are using. TIA.
Martin Schreiber at 2/24/2003 4:36:34 AM
-
I have attached a project to demonstrate the effect.
Andrew Fionik at 3/24/2003 6:48:35 AM
-
I can confirm effect.
Martin Schreiber at 3/24/2003 11:21:09 PM
-
Thank you!
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us