Re: Modifiying a single grid cell by trw7at
trw7at
Thu Feb 03 11:37:32 CST 2005
=?Utf-8?B?S2V2aW4gTWFya3ZlbmFz?= seemed to utter in
news:7E91DAE7-EF22-410B-83CF-0485BE441B9E@microsoft.com:
> Hi,
> I am developing an application in which I am building a calander grid.
> Each row in the grid has a control source connected to a foxpro table
> which determines which day of month it is. I am trying to make it so
> that todays day will be displayed in bold but I can't find a way to
> locate todays individual cell in the grid. Anyone have any suggestions
> on how I would do this?
Rows in grids do not have control sources, so we're off to
a confusing start right there...
Is each row of the grid a day or a week? If each row is a
day, that's pretty easy - just store today's date and set
the DynamicBold of the column such that row for today's date
is bold.
If each row is a week, with 7 columns in the grid. You can
also do this using DynamicBold, but the determination of
today's date depends on how you are displaying the calendar.
You may want to look into the many freely available calendar
controls that are out there before rolling your own.
-- TRW
_______________________________________
t r w 7
at
i x dot n e t c o m dot c o m
_______________________________________