Forum > General

room reservation components

(1/1)

ensimek:
Hi guys,
A time ago I made php system for room reservations in hostel. All data is placed in mysql database.
Client asked me if I could write 'windows' application for their hostel, and that application should:
- display dates of reservations, so they could know if anyone has already reserved room/s
- add new reservations if they get them by phone or something.

They have exact 28 rooms, but lets say we can define that on setup. And the question is how can i display (on which component) which rooms are booked and when.

Thanks a lot ....

Leledumbo:
It's an application specific component, I guess. You can create your own component (probably a TPanel descendant) consisting of a TImage (for room image), a TLabel saying it's booked or not, and a TDateLabel for displaying the date when it's booked. You can then use something like TOvcTable from OrphPort package to show the rooms in a grid-like fashion.

Navigation

[0] Message Index

Go to full version