I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

September Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding Board     Print This   

Delphi VCL Topic

Visual Component Library usage (and development).
 Show:
New Activity New Threads Oldest Unanswered Most Active Most Read
  


25 Threads:

Add New ThreadRandom Thread

Thread 25 of 25
Thread Starter  

PANTLORD
ComboBox Text won't clear.
Hi there,, , Does anyone know how to clear the text dispplayed in a combo box? Mine just holds the last value and doesn't overwrite it when I tab back to it ideally I want it cleared and ready for the next entry. , , I've tried setting .Text := ''; but it doesn't work even if I set it to '1'; it doesn't display a 1 only the previous value. The whole text line seems to be higlighted rather than just the text. Any ideas?, , Thanks, Mully
12 years ago
3 replies. Last post:

Anonymous
ComboBox.clearselection; :) ..  --- salambanan
20 months ago
Nothing New Since Your Last Visit
8002
Hits

Thread 24 of 25
Thread Starter  

sharkboo
NMHTTP Post Message Problem
when i use NMHTTP1.Post('http://10.0.65.188/hello.php','a=hello'),the socket reply that the connection is successful,but the parameter hasn't been transfered., , who know why and how to deal with it?, thax.
13 years ago
9 replies. Last post:

Anonymous
La sacoche en cuir pour homme est nanmoins ce qu'on a invent de plus pratique pour les hommes et de plus moder...
27 months ago
Nothing New Since Your Last Visit
24064
Hits

Thread 23 of 25
Thread Starter  

Pelagian
Calendar VCL with multiple date display

I have written a little programs that keeps information on relatives and friends and I would like to show on the current month's calendar all the dates on which birthdays may fall.

 

Is there a free Calendar component  for Delphi 7 (or upwards) that allows for the display of multiple dates.

28 months ago
1 Reply:

Wes
I can't promise that such a calendar component is in there, but have you investigated Project Jedi? http://www.delphi-jedi.org/
28 months ago
Nothing New Since Your Last Visit
1776
Hits

Thread 22 of 25
Thread Starter  

Daniel Kram
Point-Of-Sale (POS) Screen Design
Hello and happy new year to all. I am currently in the process of writing a Point-of-Sale, POS, system. I have seen many in person recently and they have fairly simple screens with a few options usually per screen and perhaps some tabs. Color is usually present but not usually overdone. My question, I noticed they all have a gradient type of button in several formats and how do you th ink I should best approach my project to achieve a nice graident button and controls. Here is what I have looked at thus far. 1) Skinning. If I find nothing else, this is the area I will probably land. When I am finished with my research, I will post my findings. Through skinning, I can apply a theme to the Delphi application and at least get a completely different feel than the basic application colors with very little coding. 2) HMI (Human Machine Interface) I do not know much about this, yet, but this seems to be an option. 3) Just DIY, or do-it-yourself - create nice gradient desi...
5 years ago
11 replies. Last post:

rdkram
Anas: Wes is correct. Moreover, I cannot share code from the application without breaking copyright rules/laws. Yes, I wrote it, but I do not own it, my employer owns the code - not me. Follow what, Wes, indicates and see where it takes you. I do the same thing with languages I learn such as Ruby, or PHP. The other thing you probably need is a solid understanding of database design. if you do not have a DBA, or database administrator, av...
34 months ago
Nothing New Since Your Last Visit
6269
Hits

Thread 21 of 25
Thread Starter  

djsmith9
TMonthCalendar and OnGetMonthInfo problems
I've noticed a problem with the OnGetMonthInfo event of TMonthCalendar. , , (IE. MonthCalendar1GetMonthInfo(Sender: TObject;, Month: Cardinal; var MonthBoldInfo: Cardinal); ), , For example, the following code is in OnGetMonthInfo:, , If month = 6 Then MonthCal.BoldDays([1,8],Month);, , This works fine if you bring up the calendar in July, then click back to June. But if you bring up the calendar in June, no bold days. It seems to be designed to always be one click late with the bold days. The OnGetMonthInfo fires, but displays one click later. Bold days only work if you click into them from the increment buttons on the interface. I can't believe that Microsoft got Outlook 2000 to work with this thing, so there must be some way around this., , Does anyone know of a workaround for this annoying deficiency? I've tried firing an OnGetMonthInfo by itself to force the bold days but no luck. Otherwise, I'd like to know of any recommendations for a decent calendar with the bold day...
12 years ago
1 Reply:

Anonymous
Try such a nice piece of code as

Calendar.Date:=Calendar.Date+31;, Calendar.Date:=Calendar.Date-31;

to Force that component +)

And it will bold the current month))

--- Moonflame_9x

48 months ago
Nothing New Since Your Last Visit
4756
Hits

Thread 20 of 25
Thread Starter  

grey guru
Updating third-party components
Hi I don't get to spend as much time programming as I'd like to, so when I'm on a project, I tend to use a brute force approach, banging on each problem as I reach it, until I break through, often with help from support groups like this one. I'm hoping to do better this time, and get advice ahead of time. I use the Developer Express Quantum grid components, and they do a great job for me. My only problem is if I go back to an older project based on (say) v3 grid components, and I'm now using v4 components, Delphi opens up the code and complains that it can't find the xxxx class, and asks if I want to ignore or cancel. After ignoring a whole bunch of instances of the old component classes, the code looks like a tank has driven through it, and the visual design is shot to heck as well. Worst of all, there is no indication of where a "hole" has been left; one has to eyeball to find them all. These particular components do not allow both v3 and v4 to be installed simultaneously, so thin...
56 months ago
2 replies. Last post:

ta2412
{Too Long}
56 months ago
Nothing New Since Your Last Visit
2301
Hits

Thread 19 of 25
Thread Starter  

pkakkar
problem with the code- dont know where
hello ,, , I have two tables 'contacts' (which has name, email and group name, groupname is foreign key) and 'groups'(which has groupname and is a primary key). 'Groups' is a master table.  Also, I have two forms where in I have to let the user enter name and email. and two radio buttons - 'add contact to group' and 'create a new group.' and a button 'add contact'. when user chooses option 2 that is 'add contact to group', an editbox will appear and the user has to add a new group, , now there are few validations with this:, a) if the editbox is empty then showmessage 'please enter groupname', b) check if the groupname entered is not same as in database . because you are creating a new group. so showmessage 'groupname already exists'and exit, , in another form i have database connection, 2 msquery and 2 datasources ..all are interlinked., , below is the code : if I check RadioButton2, (the problem is , a) if I just enter name and email, click on Radiobutton2 and press ...
6 years ago
7 replies. Last post:

Wes
William, Thanks for your corrections, and additional insights., , >Wes, no offense, but I would suggest you spend some time with Microsoft SQL Server Books online as you have apparently been misinformed about some very basic features of Microsoft SQL Server. If you wish, I would be more then happy to answer questions or you and make sure anything you have been incorrectly lead to believe is set straight., , [WP] No offense taken. Over the y...
6 years ago
Nothing New Since Your Last Visit
15479
Hits

Thread 18 of 25
Thread Starter  

riotboy
Using TWebbrowser to enter text and click button
Using TWebbrowser to access a web form with a few fields on it, and a couple of buttons. I want to enter some text into one of these form Fields, then click one of the buttons ('Search'), with delphi code accessing the page via TWebbrowser. I can access the complete HTML page source (is in a frame but i do a fool workaround to trick it into discarding the outer frame anyway).  I know what the button and the field names are. Having Zero luck with this so far, need a direction to be pointed in if nothing more.  Any Ideas?
6 years ago
1 Reply:

Wes
Matt: You're entering interesting territory! Delphi, itself, doesn't know much about the HTML that happens to be loaded in a TWebBrowser. The good news is that TWebBrowser has a property, "Document,"  that you may find helpful. The Document property gets you an IDispatch interface to the document.  From that point on, you are in Microsoft land.  Here's a link that'll describe the Document in plenty detail: http://msdn2.microso...
6 years ago
Nothing New Since Your Last Visit
3043
Hits

Thread 17 of 25
Thread Starter  

Speaker
How can i...
Please, how can i populate a new component based on this article http://www.prestwood.com/aspsuite/kb/document_view.asp?qid=100296 But with a lot more functionality. Thanks you, Martin
7 years ago
1 Reply:

Wes
Hi Martin, When you say "populate," do you mean load it with data from a database? Also, when you  say "with a lot more functionality," can you be more specific? While we await your reply, may I suggest some excellent references?  In "Borland Delphi 6 Developer's Guide," authors Teixeria and Pacheco go into great depth about building Delphi Components. Also check out the many Delphi books by Marco Cantu.  His "Mastering Delphi...
7 years ago
Nothing New Since Your Last Visit
1714
Hits

Thread 16 of 25
Thread Starter  

juanjo75es
TWebBrowser scroll bar
I want to hide the default visible scroll bar of the TWebBrowser component., How can I do it?
13 years ago
1 Reply:

Wes
I am sorry it's taken so long for you to get a reply. If you haven't already discovered a solution, you might w...
7 years ago
Nothing New Since Your Last Visit
6067
Hits

Thread 15 of 25
Thread Starter  

Amir
how can I Login to PHP pages with NMHttp?
Hi. is there any one help me? I want to Login to one Website (Username & Password)Like mail.yahoo.com ?Using NMHttp Post method in my program.but i can't do this. I'm using Delphi6., Tnx.
9 years ago
Nothing New Since Your Last Visit
3746
Hits

Thread 14 of 25
Thread Starter  

programc++
pop up menu problem
Hi,, I am using TPopupMenu and I need to make sure that this pop menu pops up at a fixed location on the screen. But when my form on which the pop up menu is displyed is maximised the popup menu seems to be somehwre else. Is there any way to get the exact coordiates of the screen so that I can fix the pop menu soordinates in such a way that even if u maximize or minimized the position of the menu remains unchanged., , Please do reply me, thanks
10 years ago
Nothing New Since Your Last Visit
1457
Hits

Thread 13 of 25
Thread Starter  

programc++
Centralized solution
Hello,, I have a tool bar and MDI chiild forms. I have 3 child forms and for each of the child form there are approx 10 buttons each which are displayed on the main form depending on which child form is selected. Now i have solution for this problem which involves creating buttons separately (30 buttons). Is there any better way of doing this . Something that is more time consuming . Moreover for each button there are popup menus for each button. Any simpler way of solving this problem???, , thans in advance, mahendra
10 years ago
Nothing New Since Your Last Visit
1092
Hits

Thread 12 of 25
Thread Starter  

programc++
Gaining and losing focus on TSpeedButton
I have a TSpeedButton and I am not able to lose the focus on this SpeedButton.Once the focus is lost I want to regain the focus again. Any Suggestions??
10 years ago
3 replies. Last post:

programcpp
Actually I made the TSpeedButton get focussed using the Enabled property. I initialised it to false. When I need to get the focus back, I just assign Enabled as true and it works fine. So initially all the buttons are not activated. Works fine I guess .. atleast for my application
10 years ago
Nothing New Since Your Last Visit
5370
Hits

Thread 11 of 25
Thread Starter  

programc++
dynamic buttons on the form
Hi,, I have a main form and 3 MDI child form. I have 6 different buttons altogether for the application. I need somhow to able to view 2 buttons at a time depending upon the child form opened. I can hide the buttons but I cannot display different button at the same location. , Can anyone help me out with this.., , Thanks in advance, Mahendra Ghuge
10 years ago
6 replies. Last post:

programcpp
Hi angel,, That works fine .. thanks for your help
10 years ago
Nothing New Since Your Last Visit
1748
Hits

Thread 10 of 25
Thread Starter  

programc++
Two TMainMenu on the main form .. is it possible??
Hello,, I am developing an application where there is a main form. This main form has a TMainMenu with all the necessary drop down menu items. Now I have a MDI child window which changes according to the menu item selected from TMainMenu. Depending on which MDIchild window I am opening, I need one more Menubar on the main form which is similar to the main TMainMenu. I tried using another TMainMenu on the main form. But during run time it is not displayed. Can anyone help me with this .Any other suggested solution will be appreciated., , Thanx, Mahendra Ghuge
10 years ago
7 replies. Last post:

programcpp
Hello,, I got it working. Works fine now. Thanks alot Angel and Wes for all your help appreciate it
10 years ago
Nothing New Since Your Last Visit
2683
Hits

Thread 9 of 25
Thread Starter  

NevilleRichards
Component Design - double click
I have a faint recollection of being told how to ensure a certain action from a component if it double-clicked at DESIGN TIME., , Does anyone know what the secret is? Big Grin! , , Neville
12 years ago
4 replies. Last post:

NevilleRichards
It looks as if you have hit the nail on the head., , The answer is there, if somewhat complicated!, , Thanks, Neville
12 years ago
Nothing New Since Your Last Visit
1503
Hits

Thread 8 of 25
Thread Starter  

absolut
prog 'concept'
hi everyone, i kind have a 'concept' question for u., i have recenlty made a shutdown program, you either give a specific time to windows shutdown, or you can set a amount of minutes to shutdown(like a timer). For the 1st mode, the specific time mode, i make the timer check if it is the right time to shutdown every second, my question is if this is the best way to do it, i thought of another way which was to calculate how many time was left to that specific time and then give it to the timer, but the prob is if the system time is changed, thing gets messed up. I meand imagine its 4am you want to shutdown at 6am, there are missing 2 hours, now imagine youve already started the prog and that you forgot that and change the system time to 5am, its now missing 1 hour, but the prog has no way to see that, and for him its still missing 2 hours., , i know that you might find strange someone post a message in the forum with a question like this, i mean with such a simple thing, but i would like...
12 years ago
1 Reply:

DavidPeacock
I would imagine that if your timer is being checked every second, then you could also check the system time., , A significant difference from one timer check to the next could trigger a timer correction based on the difference between a previous (captured) system time and the current system time., , No doubt there is a more refined and accurate solution but for simply triggering a shutdown this seems OK.
12 years ago
Nothing New Since Your Last Visit
1648
Hits

Thread 7 of 25
Thread Starter  

mcdigital
ListView HELP
Does anybody know how can I set the item widths in a ListView object?, I draw some thumbnails using OnCustomDraw event, but I like to draw thumbnails with different size! Yikes! , digital@bastun.net
12 years ago
Nothing New Since Your Last Visit
1264
Hits

Thread 6 of 25
Thread Starter  

kata.ro
Needa hand with TListView ...
I have a problem using the TTListView ... maybe someone can help me ..., So, let's start. Les't say I have a ListView on my form.The listView has 5 items an 9 colums... I view the list as report.How can I get the information from the item 3 and column 5 into a TEdit ??, Thnks in advance.
12 years ago
2 replies. Last post:

mcdigital
ShowMessage(ListView1.Items[3].SubItems[9]);, , This Will print what you need!, I guess.. Big Grin! Eek!
12 years ago
Nothing New Since Your Last Visit
1287
Hits

Thread 5 of 25
Thread Starter  

AndyT
Mdi app set button props don't work
I am trying to set a buttons enable property from within the child form, but nothing happens., , procedure TMDIChild.WebBrowser1CommandStateChange(Sender: TObject;, Command: Integer; Enable: WordBool);, begin, case Command of, CSC_NAVIGATEBACK: form1.backbtn.Enabled:=Enable;, CSC_NAVIGATEFORWARD: form1.Forwrdbtn.Enabled := Enable;, end;, end;, , what gives?
12 years ago
1 Reply:

rt
I don't think a lot "will give" unless you stick or even repost this onto the board thats relevant to your program -, not everyone reads this bit!, rt
12 years ago
Nothing New Since Your Last Visit
1051
Hits

Thread 4 of 25
Thread Starter  

Badzooka
Using Delphi TColorGrid
How do you specify which color to use with TColorGrid from the samples page? Why isn't it documented?
12 years ago
4 replies. Last post:

badzooka
Thanks Mike.
12 years ago
Nothing New Since Your Last Visit
3144
Hits

Thread 3 of 25
Thread Starter  

ecotone
No default printer error when adding QReport
I get an error "There is no default printer defined" when trying to add a QuickRep object even though there is a default printer defined. The object doesn't get added. Any clues?
12 years ago
Nothing New Since Your Last Visit
1980
Hits

Thread 2 of 25
Thread Starter  

Ron Roper
Can't control visibility in DBCtrlGrid ?
I am using a DBCtrlGrid to display several records on screen at once. The control grid has a DBCheckBox and a DBEdit on it. I am trying to control the Visible state of the DBEdit according to the Checked state of the DBCheckBox., , When a checkbox is clicked (I am using the OnClick event), the corresponding DBEdit behaves correctly, however all the other DBEdits (for the other records) change state whenever I move to another record. , , I notice that the controls placed on a DBCtrlGrid actually appear with the Form as their parent in the object inspector., , Is there any way to determine which instance of the controls I am dealing with at any one time and limit the effects to just one record at a time., , Thanks for any help, , RonR , --------------------------------------------------------------------------------
12 years ago
Nothing New Since Your Last Visit
2762
Hits

Thread 1 of 25
Thread Starter  

Thomas Duval
LookUp ComboBox
Does someone make a component for Delphi that can lookup a key field and replace multiple fields columns in a grid. I am trying to find a component that works like the old dos version of Paradox3. I would like to enter a part number in the main table and look the part number description and price in a data table; then place that data in the main table (part number description and price.
12 years ago
Nothing New Since Your Last Visit
1517
Hits

New Thread
-
  Load Time=less than 1 second.
 
Print This


-
 
Have a question? Need our services? Contact us now.
--Mike Prestwood

Call: 916-726-5675

email: info@prestwood.com


515 People Online Now!!  
Sign In to see who's online now!  Not a member? Join now. It's free!
Show more stats...
Follow PrestwoodBoards on: 


©1995-2014 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech