Search Results

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: bob on whidbey ; Forum: Pascal and Delphi and child forums
Forum: Pascal and Delphi Oct 5th, 2009
Replies: 3
Views: 1,323
Posted By bob on whidbey
OldRow, OldCol : integer; // defined in TForm private

var
P : TPoint;
gc: TGridCoord;
begin
gc := TStringGrid(Sender).MouseCoord(x, y) ;
P.X := X;
P.Y := Y;
if (gc.x <> OldCol)...
Forum: Pascal and Delphi Jan 27th, 2009
Replies: 5
Views: 1,570
Posted By bob on whidbey
Thank you Jonase. The CSV file approach, which is nicely supported by TStrngList, is one way. I was unable to discover how to use the Delphi components TExcelApplicatioin, TExcelWorkBook, etc.
...
Forum: Pascal and Delphi Jan 24th, 2009
Replies: 5
Views: 1,570
Posted By bob on whidbey
I'd like to read/write xls files in Delphi. I think there's a way to do this using ADO. Can anyone provide an example or head me in the right direction. Thanks.
Forum: Pascal and Delphi Jul 14th, 2008
Replies: 1
Views: 869
Posted By bob on whidbey
I have two RadioGroups on my form, each with just two RadioButtons. When I click a button in one group, it turns off the "on" button in the other group. What could be causing this? I'm using D2007...
Forum: Pascal and Delphi Jun 25th, 2008
Replies: 3
Views: 2,203
Posted By bob on whidbey
I'm using D2007 and trying to add a new, blank record to my Access database with code. The DB has a 'day' field and a 'event' field. All works fine when a record exists for the given day. I need to...
Forum: Pascal and Delphi Feb 11th, 2008
Replies: 4
Views: 2,031
Posted By bob on whidbey
As the card is dragged from the gray side to the green "table" the background will change. Depending on where the card is, some of the time 1 or 2 corners will have a green background and 3 or 2 will...
Forum: Pascal and Delphi Jan 21st, 2008
Replies: 4
Views: 2,031
Posted By bob on whidbey
I've created a playing card descendent of TCustomControl and I want it to have rounded corners. The card is displayed in a Paint procedure where I determine the bitmap and then use a Canvas.Draw(0,...
Forum: Pascal and Delphi Jan 17th, 2008
Replies: 2
Views: 1,959
Posted By bob on whidbey
I too was surprised at how well my kludgy approach seemed to work. Thanks for pointing out efg's tech note.

Since "white" has 255 in all RGB bits I don't have to test for something higher than...
Forum: Pascal and Delphi Jan 16th, 2008
Replies: 2
Views: 1,959
Posted By bob on whidbey
I store in an image in a RES file. Because it is so large, I first convert it from a BMP to a JPG. Then I load the JPG from the RES file, convert it to a BMP, and can now manipulate the image on a...
Forum: Pascal and Delphi Dec 29th, 2007
Replies: 1
Views: 1,568
Posted By bob on whidbey
This seems to work fine


var Rect: TRect;
begin
SetRect(Rect, -1, -1, -1, -1);
MyGrid.Selection := TGridRect(Rect);
Forum: Pascal and Delphi Dec 27th, 2007
Replies: 1
Views: 1,568
Posted By bob on whidbey
The upper-left corner cell of a stringgrid has a blue background - I believe because it is selected. I don't want any cells "selected". The solutions to this problem that I've seen have the user...
Forum: Pascal and Delphi Nov 29th, 2007
Replies: 1
Views: 601
Posted By bob on whidbey
I'm having no problem adding components to to the Palette in Delphi 2007. Generally I do this by adding units to a .dproj and then installing the .dproj. I've tried to delete a unit - and that...
Forum: Pascal and Delphi Nov 29th, 2007
Replies: 2
Views: 1,201
Posted By bob on whidbey
Thanks a lot - that was just what I was lookinig for.
Forum: Pascal and Delphi Nov 29th, 2007
Replies: 2
Views: 1,201
Posted By bob on whidbey
I'm having trouble creating a RES file (for a visual component). This was easy under XP as I had the file extension for all .rc files set up to run RC.EXE. I am now using Vista and can't find the...
Showing results 1 to 14 of 14

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC