I am trying to create a busy status indicator for a communication
process. When data is incoming, events occur at least every 1.3
seconds. Events can occur at intervals shorter than 1.3 seconds, if
the messages are short.
I want to set a busy status on the incoming data event, and then have
a
Chris,
Thanks for the fast response. I guess I wasn't clear. I don't have any
event or place in the code I could put a busy := false statement.
The not busy state is only indirectly inferred when the busy
events stop happening for 1.3 seconds.
That's why I had my NotBusy procedure triggered by
Is there a property or technique that can modify the TListBox vertical
scrolling behavior so that the most recently added item is visible at
the bottom of the window?
The default behavior is that the scrolling thumb goes to the top of
the scroll bar (the start of the list) whenever a new item is
In C++, the ifstream class has a property eof, that seems to be the
default property. I'm porting come C++ code to Delphi, and it has a
form like:
ifstream ifs( pszFile, ios::binary|ios::nocreate|ios::in );
if( ! ifs ) { handle error}
ifs.read( (BYTE*)structure,
Thanks to Rob and Jangita for their answers on my previous question.
It is obvious in hindsight.
Now that I have the EOF issue solved, I find a new problem. It seems
that TFileStream.read does not work with dynamic arrays.
This code does not work. b_read is always zero, and nothing is read
from
I'm working on a Delphi 7 app that displays a small window in the
foreground of a running Powerpoint presentation. My app works fine,
except the Powerpoint show pauses for as long as my app is running,
and I need to have the show continue to cycle through the slides. I
had one suggestion to use
Rob,
Thanks for the reply. My program is not started by PPT, nor does it
start PPT. The application is in a lobby kiosk. A PPT slide show runs
in an infinite loop. Twice a day, my app is supposed to appear on top
of the running PPT slide show and announce an event and show a
countdown timer. When
Rob and all,
I solved the problem (with some help from MikeR on the progdigy.com
forum) by using a combination of making my window Topmost
(HWND_TOPMOST), and finding the the Powerpoint Show's handle to call
windows.SetForegroundWindow(h). That sets Powerpoint to foreground
with every timer tick
8 matches
Mail list logo