On top of the car park, some companies may also offer super ann, health
insurance, company bonus, free carbonated drinks, fruits (just to balance
things out), and the occasional Friday afternoon massage :)
I say chose Christchurch mate :) we are more relax down here, plus we have
an awesome ru
If you have an access violation address you can subtract $00401000 from it
and the difference is the address in the map file where your error occurred.
There are lots of tools out there that will do this for you automatically.
I have one here that I wrote myself, but its fairly basic. If you want
Works fine for me.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John
Sent: Thursday, 6 November 2003 10:41 AM
To: Multiple recipients of list delphi
Subject: [DUG]: Minimize
Hi all,
The following call to minimize my application works fine in W95, W98,
Use
WM_COPYDATA to send strings or other data to another
application.
sample code:
var
CopyData :TCopyDataStruct;
s :String;
begin
s:= 'Some string.';
CopyData.dwData:= ; //Message that identifies the data
attached, can be any cardinal value meaningfull to the other app.
C
Here's one for the Delphi gurus,
I have a custom RadioButton component and I want to centre the actual
"button" on the centre of its ClientRect. By overriding the CreateParam
proc I should be able to do this. However BS_CENTER only centres the "text"
horizontally and not the actual button (the
L PROTECTED] On
Behalf Of Allan Vergara
Sent: Tuesday, 4 November 2003 2:01 p.m.
To: Multiple recipients of list delphi
Subject: [DUG]: Capturing input focus
Been trying to figure this one out for a while now but still no luck. What
I have is a TrackBar control derived from TCustomControl. Within t
Been trying to figure this one out for a
while now but still no luck. What I have is
a TrackBar control derived from TCustomControl. Within this
control I'm trying to trapping the messages WM_SETFOCUS and WM_KILLFOCUS but
this little experiment fails because these messages are not being se
There are lots of information out there on how to change the color of a
TButton, just do a Google search. But anyways, one of the way you can color
a button is to create your own TButton control and trap the WM_PAINT
message.
WMPaint
var
ControlCanvas :TControlCanvas;
aRect :TRect;
begin
Your program is probably failing when you call StrToFloat? I suggest you
check the decimal separator in the regional settings in the computer. I
think if you set your locale to Spanish, this changes the decimal separator
to ',' and the thousand separator to '.' (its a euro thing). To fix this
si
To check if Word is running:
if Succeeded(GetActiveObject(CLASS_WordApplication, nil, Unknown)) then
ShowMessage('Word is running!');
hope that helps.
Allan.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of John
Sent: Tuesday, 5 August 2003 8:33 a.m.
Do you want all the controls within the Panel to have the same cursor as the
Panel? If so when you changed the cursor of the Panel why not loop through
each of the Panel's control and change their cursor property the same as the
Panel?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[E
Signiture:
procedure GetAxisLabel(Sender: TChartAxis;
Series: TChartSeries; ValueIndex: Integer; var LabelText:
string);
Use:
GetAxisLabel(LeftAxis, HorizBarSeries, 1, 'any old
string');
See anything wrong here? Your passing 'any
old string' (which is a const) and catching it as a var
Re 2/
You would need the following "magic numbers"
$f012 -> allows the control to be moved
$f001 -> size left
$f002 -> size right
$f003 -> size top
$f004 -> size top-left
$f005 -> size top-right
$f006 -> size bottom
$f007 -> size bottom-left
$f008 -> size btoom-right
to use the
you can hide the form before it is activated; Hence OnActive/CM_ACTIVATE.
To get rid of the annoying blink that occurs when the form is initially
shown, then you might want to offset the position of the form so that it is
initially displayed outside the boundary of the screen.
Hope this helps.
--
I had a similar problem a week ago. The following seems to have fixed it.
1). Run -> Parameters -> Host Application = [host applciation's path and
name]
2). Run -> Add Breakpoint -> Module Load Break point... [select your dll]
3). View -> Debug Windows -> Modules [Load your module (if not already
Is it possible to send a record (via SendMessage) from one application to
another without using WM_COPYDATA?
I have two test apps and both are registered to receive the same message.
The receiving app seems to receive the message okay, but when I tried to
dereference the pointer all I got is garba
Just like what you did but set the PlainText to true then save.
PS. don't forget to set PlainText back to false.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alistair George
Sent: 14 January 2003 14:44
To: Multiple recipients of list delphi
Subject: [
if it displays) "one
two"
Mark
On 14 Jan 2003 at 10:40, Allan Vergara
wrote:
> Access the individual controls within the
RadioGroup.
>
> for i:=0 to RadioGroup1.ControlCount
-1 do
> if
TRadioButton(RadioGroup.Contro
Access the individual controls within the RadioGroup.
for i:=0 to RadioGroup1.ControlCount -1 do
if TRadioButton(RadioGroup.Controls[i]).Caption = 'Two' then
RadioGroup[i].Font.Style:= [fsItalics];
Hope this helps.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PR
For the second question - technically you cannot do this. But you can hack
around it. Here is one possible solution.
var
OldParent :TWinControl; //maybe better if you make this global so you can
rivert later.
begin
OldParent:= GroupBox1.Parent;
GroupBox1.Parent:= OldParent.Parent;
Group
Hi John,
Check out http://www.djpate.freeserve.co.uk/AutoWord.htm
---
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL
If you want to dock a form into the panel automatically, just do:
Form1.BorderStyle:= bsNone; //only if you want to hide the caption bar of
the form
Form1.Parent:= Panel1;
Form1.Show;
Gook luck!
---
New Zealand D
try
CheckBox1.Perform(BM_SETCHECK, BST_CHECKED,
0);
-Original Message-From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Paul
MckenzieSent: Monday, 11 November 2002 12:29 PMTo:
Multiple recipients of list delphiSubject: [DUG]:
Check-boxes
Anyone know how
You should be able to highlight individual items on the listbox by adding
code on the listbox's OnDrawItem event. If you want to simply change the
text color then do the following:
ListBox1.Canvas.Font.Color:= clRed;
ListBox.Canvas.TextOut(x,y, ListBox1.Items[index]);
if you want to hightli
Hi folks,
Has anyone encountered problems while using TRichEdit on a multi-threaded
environment? I'm getting the error
EOSError 1400, Invalid window handle. Any thoughts, comments, etc is much
appreciated.
Thanks
---
Hi folks,
If I run a delphi dll (compiled with VCL 4) from within a delphi application
(compiled with VCL 6), would there be a conflict? I've been surfing the net
for answers but I'm not having much luck. Any comments, tips, links, etc
would be much appreciated.
Thanks!
--
Does anyone know how to capture the mouseUp event
after manually resizing (via StatusBar's SizeGrip) a
form?
I've used "procedure
WMnclButtonUp(var message: TMessage); message WM_NCLBUTTONUP;" to capture the
event but it doesn't seem to work. Does
anyone have any suggestion(s)?
Thanks for the response.. I've actually figured it out at the end. I've
used a TLabel but did not attached it to the radio button. What I did was
I've captured the following messages:
CM_TEXTCHANGED;
CM_FONTCHANGED;
WM_SIZE;
then used the TLabel to initially construct the caption (allowing it
Hey guys, I'm having a bit of a hard time trying to
figure out how to autosize a radiobutton. What I have is a
Radiobutton component that needs to resize it self depending on the font
size. To make things a little more interesting, my radiobutton component
is multilined. Any suggestions?
Standard Delphi 4 (i think 5 as well) don't support unicodes. If you want
to dispaly unicode you have to create ur own TLabel component by overriding:
procedure DoDrawText(var Rect: TRect; Flags: Longint); override;
Then on the implementation you should do the following:
procedure ...DoDrawTex
Say I have different versions of richedit (riched20.dll v2,riched20.dll v3,
and RichEd32.DLL )
in my computer, how can I tell my program which version of the dll
to use?
Please help! I'm trying to get all
the supported languages from the system but for some reason, the callback
function below is only called once. I've already
checked HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Nls\Locale to see if
there are more than one locale entry. Can anyone p
Thanks,
Allan
hey guys, can anyone tell me what's a good alternative to TChart?
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
---
New
34 matches
Mail list logo