Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: bob on whidbey
Forum: Pascal and Delphi Oct 5th, 2009
Replies: 3
Views: 973
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,493
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,493
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: HTML and CSS Dec 26th, 2008
Replies: 6
Views: 886
Posted By bob on whidbey
I'm not sure how that would be done with CSS.

My goal was to preLoad the images so they would be ready for a quick image swap on a mouse roll-over. Perhaps this is an old-fashioned concept that is...
Forum: HTML and CSS Dec 26th, 2008
Replies: 6
Views: 886
Posted By bob on whidbey
A template is a web page that has editable and non-editable regions. The template isn't actually posted on the web, but it is used to create other pages.

Typically, many pages in a web site will...
Forum: HTML and CSS Dec 23rd, 2008
Replies: 6
Views: 886
Posted By bob on whidbey
Thanks.

I've been preloading images in the onload opton of the body tag.
How can I use a template - for the basic structure of the web page -and also have the ability to preloadimages?
Forum: HTML and CSS Dec 22nd, 2008
Replies: 6
Views: 886
Posted By bob on whidbey
Is it posible to have the body tag in an editable region of a template. I want to PreLoad images on some of the pages and not others.

I've tried
<body
<!-- TemplateBeginEditable...
Forum: Pascal and Delphi Jul 14th, 2008
Replies: 1
Views: 860
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,158
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: 1,974
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: 1,974
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,906
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,906
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,535
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,535
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: 592
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,184
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,184
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...
Forum: HTML and CSS Nov 15th, 2007
Replies: 2
Views: 656
Posted By bob on whidbey
No, the CSS doesn't use the word larger anywhere. All my font sizes are in terms of :large, x-small, small, etc.

I've finally given up on the template - never having solved the problem. Three...
Forum: HTML and CSS Nov 13th, 2007
Replies: 2
Views: 656
Posted By bob on whidbey
I'm in the process of converting many sections of my web to templates (for use with Contribute) so I can get away from all of that mundane editing. Each page has a header, navbar, and body, with only...
Showing results 1 to 20 of 20

 


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

©2003 - 2009 DaniWeb® LLC