PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
API SendMessage + Event()
API SendMessage + Event()
Started by Nico Vancauwenberghe, Aug., 02 2003 1:51 PM - No answer
Connect yourself…
Nico Vancauwenberghe
#1
Posted on August, 02 2003 - 1:51 PM
I have a cMessage class that registers a windowmessage in its constructor and a method to send the message to all active windows. 2 global object vars msgCustomer en msgDocument that instantiate cMessage on project intialization.
Window 'CustomerOverview' sends message through msgCustomer on row selection of tabCustomer (tablecontrol). Window 'DocumentOverview' sends message through msgDocument on row selection of tabDocument and receives message using Event(), window 'Customer' receives message using Event(), window 'Document' receives message using Event(). Fyi receiving windows perform a refresh method.
Open windows: CustomerOverview(TX) - Customer(RX) => OK
Open windows: CustomerOverview(TX) - DocumentOverview(RX)(TX) => OK
Open windows: CustomerOverview(TX) - DocumentOverview(RX)(TX) - Document(RX) => OK
Open windows: CustomerOverview(TX) - DocumentOverview(RX)(TX) - Document(RX) -Customer(RX) => NOT OK
Open windows: CustomerOverview(TX) - DocumentOverview(RX)(TX) - Customer(RX) => NOT OK
To cut a long story short: My event in window Customer is not fired when other receiving windows are active .
Can anyone help?
ns-consulting
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text