modal dialog in ActiveX
Visual Basic
1
Posts
1
Posters
0
Views
1
Watching
-
I have the next problem: In text field I print some numeric value, which can't be out of some range. if it is, the next code inits Message Box: If CLng(txtTriggerActions(Index).Text) > MAX_TIME Then MsgBox GetResorceString(ME_txtMAX_VALUE_IS) & " " & CStr(MAX_TIME), vbApplicationModal + vbExclamation, GetResorceString(ME_mWARNING) txtTriggerActions(Index).Text = CStr(MAX_TIME) Exit Sub End If But Message Box as a result is not Modal. probably it can't determine to whom hat it to be modal, as it is initialized in some another frame (in java frame). what to do ? thanks to attention.