IT SOLUTIONS
Your TECHNOLOGY partner! 
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi Group Home
-Collapse +Expand Message Board
-Collapse +Expand Delphi KB
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Study Test
PRESTWOODCERTIFIED
-Collapse +Expand Delphi Store
PRESTWOODSTORE
-Collapse +Expand Members Only

Prestwood eMagazine

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

   ► MB LobbyPascal and Delphi Coding Board   All Groups   Print This   

Pascal and Delphi Coding New Activity

Switch to:  New Posts (ALL TYPES)
  


25 Threads:


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
Posted to MB Topic: Delphi VCL
11 years ago
3 replies. Last post:

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

Thread 24 of 25
Thread Starter  

Tom.L
Delphi -- Search an array for a coloured Tpanel
I have an array y=11 by x=20 array containing Tpanels they all have corresponding colours assined to them. i would like to be able to search through the arraay to find a cirtian colour and change it to another, i tried this but it didnt work. procedure TFrmSeatLayout.BtnDeselectAllClick(Sender: TObject);, begin, ListSelectedSeats.Items.Clear; (ignore this), if ArPnl [x,y].color = clPurple then (the array is called Arpnl), ArPnl [x,y].color := clTeal; end;  I want it to find the Purple panel and change it to Teal Thanks for your help Tom
Posted to MB Topic: Delphi Single User Apps
4 months ago
1 Reply:

Wes
{Too Long}
4 months ago
Nothing New Since Your Last Visit
327
Hits

Thread 23 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.
Posted to MB Topic: Delphi VCL
12 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...
11 months ago
Nothing New Since Your Last Visit
11361
Hits

Thread 22 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.

Posted to MB Topic: Delphi VCL
12 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/
12 months ago
Nothing New Since Your Last Visit
1139
Hits

Thread 21 of 25
Thread Starter  

robert_lassiter
Delphi BDE - Directory Busy
I hope this is not the wrong group. Our problem is compatibilty with Paradox application and a delphi app using BDE. Each have their own private directory and more often than not, the delphi app crashes when trying to set the session private directory. Why would this be? The directory is empty and not used by any other application? A reboot of the computer typically solves the problem but I'd really like some further understanding...exception number  : 1, exception class   : EDBEngineError, exception message : Directory is busy., , main thread ($b9c):, 005eb8b1 +011 rcurt.exe Bde.DBTables           DbiError, 005eb8bd +005 rcurt.exe Bde.DBTables           Check, 005ef5e0 +04c rcurt.exe Bde.DBTables           TSession.SetPrivateDir, 0065b89b +8b7 rcurt.exe f_main       1286 +138 TMain.FormCreate,...
Posted to MB Topic: Delphi Distributed Apps
12 months ago
Nothing New Since Your Last Visit
766
Hits

Thread 20 of 25
Thread Starter  

Larry J. Rutledge
Delphi 6 Personal Edition - Free
[b]Borland to Offer Delphi 6 Personal Edition for Free[/b], , [i]Scotts Valley, CA (August 3, 2001)[/i] - Borland Software Corp. is offering Borland Delphi 6 Personal Edition for free. Delphi 6 Personal enables new users to learn how to develop high-performance, non-commercial applications for the Windows platform with the latest technology standards and protocols., , Complete with a 32-bit, optimizing, native code compiler, online help, and examples, Delphi 6 Personal shortens development cycles and can increase developer productivity. The Personal Edition also features a VCL of more than 85 pre-built and reusable, customizable components, including menus, dialogs, TreeViews, and text boxes., , Borland Delphi 6 is the first RAD environment for Windows that fully supports new and emerging Web Services. With Delphi 6, corporate, or individual developers can create next-generation e-business applications quickly and easily. Major features include BizSnap, WebSnap, and DataSnap to enable ...
Posted to MB Topic: Delphi News / Other
12 years ago
2 replies. Last post:

Anonymous
---Nathan Mutisya
15 months ago
Nothing New Since Your Last Visit
14210
Hits

Thread 19 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 designs in a paint...
Posted to MB Topic: Delphi VCL
52 months 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, availabl...
18 months ago
Nothing New Since Your Last Visit
4541
Hits

Thread 18 of 25
Thread Starter  

epicurean
BDE Configuration
So yesterday, all was well, happy happy joy joy. Today...when I try to open up my database program...I get an error, Cannot write to Engine configuration file BDE Error 8453 [$21] [$5]. Same problem when I open BDE Admin - System configuration file not found. System default in use. When I try to recreate the Alias and save the settings, same error, Cannot write to Engine configuration file. So my question is..what happened to the configuration file? I still have the new config file that I created previously, but when I try to apply it to the Alias, same error. I still have the default idapi32.cfg file. But when I try to make a new Alias with that config file, and save it as ParadoxTest (which is the name of the Alias I was using before), it won't let me save. Also will not let me save a newly created .cfg file. Any ideas?, , Using Delphi 6 enterprise with paradox 4.0 tables. Windows 98. .pas .dpr etc files on a Novel network drive, .cfg file is on the same network drive in different di...
Posted to MB Topic: Delphi Object PASCAL
10 years ago
3 replies. Last post:

Anonymous
what if it happens while logged in as administrator?!---Amin
20 months ago
Nothing New Since Your Last Visit
8684
Hits

Thread 17 of 25
Thread Starter  

Ron Roper
How to change sort to descending?
I am having problems changing the sort order on a DBgrid at runtime (I am using paradox tables). I have pre-defined an index for each field I wish to sort on (in ascending order)., , I can change which column to sort on by clicking in the column title without problems, but changing the ascend/descend order does not work., , I have stepped through my code and the index definition appears to be getting changed correctly but it seems to lose the change when the Indexdefs are updated or the table is reopened. Here is my routine that is called from the OnTitleClick event., , procedure TTimeSeriesForm.Descend(DoDescending: boolean; Column: TColumn);, var, I: Integer;, begin, CatGrid.DataSource.DataSet.DisableControls;, with Datamodule2 do, begin, CSR.Close;, for I := 0 to CSR.IndexDefs.Count - 1 do, if (CSR.IndexDefs.Items.Fields = Column.FieldName) then, begin, if (Not DoDescending) then, CSR.IndexDefs.Items.DescFields :=...
Posted to MB Topic: Delphi Single User Apps
11 years ago
5 replies. Last post:

rdkram

If it is an index, then by default it is automatically ascending.

When selecting the data, include a SORT BY clause and then DESC for descending - it is automatically ascending by default. Here is an example:
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB; 
SELECT FieldA, FieldB, FieldC FROM Employee ORDER BY FieldB DESC;

 

23 months ago
Nothing New Since Your Last Visit
3813
Hits

Thread 16 of 25
Thread Starter  

ckerscher
Need BDE replacement
Am using CodeGear 2007 Win32 with dBase, ACE Reporter, Woll2Woll, JEDI components; therefore I have a lot of TTables and TQueries throughout my program. My applciation runs on a 2003 server with XP workstations. The response time to access data (retrieve, post, do SQLs) is horrible. The users are demanding something better. But I don't know what is better. And I don't know what the ramfications are in changing to something better. I sincerely hope that someone can give me recommendations as well as address the difficulty in changing to another database. Thank you so much, Charlie
Posted to MB Topic: Delphi Distributed Apps
26 months ago
14 replies. Last post:

Wes
{Too Long}
26 months ago
Nothing New Since Your Last Visit
2844
Hits

Thread 15 of 25
Thread Starter  

Ahmed.K
Desktop database applications withClient Datasets!
Dear Sirs,       Hi Mike and all thanks very much for welcoming me to join you at Prestwood premises and communities. I wish you all the best.      I have been using Delphi 5 with Paradox database doing desktop database applications. I plan to move from paradox to something like Advantage Database Server with Delphi.  The reporting tool I have been using is QuickReport that shipped with Delphi 5. Now I am thinking of learning Fast Reports or Report Builder. I have downloaded their demo versions. I am inclined to use Fast reports but have not tested Report Builder.If you can give some opinion about my choice of Fast report on flexibility or the lack of it, please do so.  Rave reports has discouraged me by not showing examples of master/detail reports. You know, I usually have come across Master/Detail(becoming Master of another detail)/Detail i.e MASTER-DETAIL(MASTER)-DETAIL. And I plan to use Client Datasets with Prov...
Posted to MB Topic: Delphi Single User Apps
32 months ago
1 Reply:

mikey_n
My understanding is that Advantage is a client/server platform so it should handle most of your concurrency issues transparently, and there may be several different locking schemes. If you have foreign keys etc design your database and frontend to populate keys in the correct order.If Advantage supports triggers, use them - do as much on the backend as possible in that respect and insulate your clients from that stuff., Try to bubble down databas...
29 months ago
Nothing New Since Your Last Visit
1509
Hits

Thread 14 of 25
Thread Starter  

tricker
Question regarding TWebBrowser example.
I'm working with one of Delphi 5's Demos under Coolstuf, an example of using TWebBrowser. I wanted to do a look and feel of the IE5, which I normally use as my default browser. Well, I've accomplished some, but I'm stuck in getting the URL link of the hypertext link in the browser to show in the status bar (I added to the example) when the cursor (mouse) is at/on that word. , , I stubbed out all the events with unique information displayed in the status bar per event so to recognize any hits a cursor movement makes when moved over the word, phrase, or link in the WebBrowser windows. Nothing happens., , In IE5, when the cursor is moved to a word, phrase, or link that has a URL associated with it, that URL is displayed in the status bar., , How to do? How can I retrieve and display the URL from where the mouse is?, , Thanks,, , Tim R.
Posted to MB Topic: Delphi Internet Solutions
12 years ago
2 replies. Last post:

Anonymous
u r genius, I was stuck by doing this Panel1.text:=webbrowser1.statustext;  It always give me error message. Did not relised that it should be the text put after the := sign. This is the difference between VB and Delphi thing. ---tanghz
32 months ago
Nothing New Since Your Last Visit
3598
Hits

Thread 13 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...
Posted to MB Topic: Delphi VCL
11 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

32 months ago
Nothing New Since Your Last Visit
4186
Hits

Thread 12 of 25
Thread Starter  

owen.moore
Server 2003 and BDE
I have just thought I might move all my delphi stuff onto my 2003 server and then use remote desktop to access it however some of my apps give me a bdertl70 error when trying to open in delphi however the exe runs fine I am Using Delphi 7 Enterprise Is this an issue with server 2003 or do I need to look harder It seems to be apps with multiple tables that give the trouble all these came of a Windows XP Pro Box and worked just fine Thanks Owen
Posted to MB Topic: Delphi Single User Apps
33 months ago
2 replies. Last post:

mprestwood
Hi Owen, I suspect a rights problem. The app/user needs full rights to the data folder and net dir.
33 months ago
Nothing New Since Your Last Visit
1492
Hits

Thread 11 of 25
Thread Starter  

owen.moore
Can anybody help me with getti...
Can anybody help me with getting a directory file listing into a listbox so that I can programatticlly go through the listbox and put the filenames into a database they Database part is not causing me any trouble I can get it into  a dirlistbox but can not use that to then post certain of the file names to the Database any help is most appreciated Owen
Posted to MB Topic: Delphi Single User Apps
35 months ago
1 Reply:

Rodney.N
Owen,Interesting question. The below code will add file names (excluding paths), except for directories and system files. See the comments. And only the files in the directory specified, this routine doesn't go into subdirectories.Hope this is useful to you. let me know if it answers your query.  FindAll('c:\*.*', faAnyFile, lbxFileList.Items),   , {==============================================================================,   A...
34 months ago
Nothing New Since Your Last Visit
1425
Hits

Thread 10 of 25
Thread Starter  

owen.moore
Can anybody help me with getti...
Can anybody help me with getting a directory file listing into a listbox so that I can programatticlly go through the listbox and put the filenames into a database they Database part is not causing me any trouble I can get it into  a dirlistbox but can not use that to then post certain of the file names to the Database any help is most appreciated Owen
Posted to MB Topic: Delphi Single User Apps
35 months ago
4 replies. Last post:

Wes
Hi Larry, Thanks for the great post putting some meat on the bones of my suggestions. There's nothing like good sample code to get one started. I wanted to post some, but time didn't permit. Glad you did.
35 months ago
Nothing New Since Your Last Visit
1717
Hits

Thread 9 of 25
Thread Starter  

Tarquin Sidebottom
EOleSysError: Class not Registered
Hello! As a self-taught casual programmer, i'm having a bit of trouble with Delphi 3. I'm trying to play about with the TCP demo application. It works fine on my machine but when I try it other pc's I get the following error:, , Exception EOleSysError in module DCHAT.EXE at 00032EF9. Class not registered., , I think its got something to do with setting up ActiveX and STDVCL32.dll but other than this I'm totally stuck! Any help would be greatly apreciated., , Cheers,, Tarquin
Posted to MB Topic: Delphi News / Other
12 years ago
7 replies. Last post:

Wes
I see that others have given you some pretty good help, but I'll toss out a couple more ideas... >nmocod.dll,nmsckn.dll,nmorenu.dll, >Anyone know the status on distributing these and the ocx? Ah, NetManage and Delphi 3! That takes me way back some years. I fondly remember D3 as one of the "great" Delphi releases. Since the prefix on each of those DLLs is "nm," I suspect they're part of the NetManage suite of goodies, and you should be f...
36 months ago
Nothing New Since Your Last Visit
18194
Hits

Thread 8 of 25
Thread Starter  

centaman
convert paradox source code to delphi source code
we need to find an easy way to convert the source code of an application written in Paradox for Windows into Delphi 5. , Any ideas?????
Posted to MB Topic: Delphi News / Other
13 years ago
3 replies. Last post:

mprestwood
If anyone is interested in a Paradox Object / Delphi Object Pascal cross reference gude, click below:
  • ObjectPAL and Delphi Cross Reference Guide
  • 40 months ago
    Nothing New Since Your Last Visit
    1262
    Hits

    Thread 7 of 25
    Thread Starter  

    Myles Boyd
    Paradox -> Delphi
    Is there a utility that will convert Paradox 8 forms in to Delphi?, , Thanks
    Posted to MB Topic: Delphi Single User Apps
    12 years ago
    2 replies. Last post:

    mprestwood
    If anyone is interested in a Paradox Object / Delphi Object Pascal cross reference gude, click below:
  • ObjectPAL and Delphi Cross Reference Guide
  • 40 months ago
    Nothing New Since Your Last Visit
    1084
    Hits

    Thread 6 of 25
    Thread Starter  

    ParaDelphi
    Does Delphi support code contracts?
    I was reading a bit about class contracts in Prism, does Delphi 2009 support class contracts? I've looked everywhere.
    Posted to MB Topic: Delphi Object PASCAL
    51 months ago
    4 replies. Last post:

    Paul.S
    thanks. i have not been back in a while but wanted to say thanks for the info.,
    40 months ago
    Nothing New Since Your Last Visit
    2004
    Hits

    Thread 5 of 25
    Thread Starter  

    grey guru
    Updating third-party components
    HiI 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 things lik...
    Posted to MB Topic: Delphi VCL
    40 months ago
    2 replies. Last post:

    ta2412
    {Too Long}
    40 months ago
    Nothing New Since Your Last Visit
    1865
    Hits

    Thread 4 of 25
    Thread Starter  

    JustusJanssen
    Excel and Word automation
    Hello everyone,writing an Office viewer (read-only) application, I dynamically create an TOleContainer on a form and use that to open the Excel or Word file., Next, the Toolbars (CommandBars) should be made invisible, what I try to accomplish by using Set_Visible(False). For Excel, this works perfectly with the following code:, <code>,    with TOleContainer.Create(Self) do,      begin,        Parent       := Self;,        Left         := 0;,        Top          := 0;,        Align        := alClient;,        AutoActivate := aaManual;,        AutoVerbMenu := False;,        OnDeactivate := OleContai...
    Posted to MB Topic: Delphi COM / ActiveX / DCOM
    42 months ago
    1 Reply:

    cra
    This works on my pc.WordDocument1 is a TWordDocument, procedure TForm1.Button1Click(Sender: TObject);, var,    _x: Integer;,    xOleVariant: OleVariant ;, begin,    OleContainer1.CreateObject('WORD.Document', False);,    OleContainer1.Run;,    WordDocument1.ConnectTo( IDispatch(OleContainer1.OleObject)as _Document);,    for _x := 1 To WordDocument1.CommandBars.Count do,    begi...
    42 months ago
    Nothing New Since Your Last Visit
    3569
    Hits

    Thread 3 of 25
    Thread Starter  

    Neophyte185
    How do I access menu commands in one program from
    I am a neophyte programmer. I have figured out how to generate a simple Delphi 7 form with a button in it which will run an executable. , , procedure TForm1.Button1Click(Sender: TObject);, begin, ShellExecute(Form1.Handle, 'open', 'c:\E3238s\bin\E3238s.exe',, nil, nil, SW_SHOWNORMAL);, end;, end., , My problem is I need to know how to access the menus that are a part of this executable. For example how would I access the FILE menu in order to select EXIT.
    Posted to MB Topic: Delphi COM / ActiveX / DCOM
    8 years ago
    5 replies. Last post:

    rdkram
    If you created the process, then it is quite easy to close it. Here is how I accomplished this task. uses,   Windows;, ..., private,   ProcInfo: TProcessInformation;, function TfrmMyForm.StartProcesses: boolean;, var,   StartInfo:             TStartupInfo;, begin,    FillChar(StartInfo,SizeOf(TStartupInfo),#0);,    FillChar(ProcInfo,SizeOf(TProcessIn...
    46 months ago
    Nothing New Since Your Last Visit
    2982
    Hits

    Thread 2 of 25
    Thread Starter  

    Daniel Kram
    PDF and RTF and Graphics
    >We are also toying with Rave report instead of RTF as Rave apparently can output a PDF quite easily. [wp] I think you're on the right track - turning to a reporting tool.  Rave might do the trick, but I've found it kind of hard to work with. I haven't tried to do exactly what you're describing, but I'd be very surprised if my favorite reporting tool couldn't handle it: Fast Report.  Fast Report also does a fine job of producing PDF output. 
    Posted to MB Topic: Delphi News / Other
    48 months ago
    Nothing New Since Your Last Visit
    1599
    Hits

    Thread 1 of 25
    Thread Starter  

    Mike Prestwood
    GTC 2001 and Delphi
    Today the Government Technology Conference ended (May 16 - 18, 2001). It was held at the Sacramento Convention Center and we were at booth #318. This conference taylors to the government (Fed, State, and local)., , It was a good show, they say that they get 47,000 attendees on average (I don't know how many showed yet.) All the big companies were there including Microsoft, HP, Compaq, Dell, Corel, etc. Borland was a notable no show., , Prestwood was there too featuring the benefits of using a "true" consulting firm. Our message was stay away from agencies (body shops) and cowboy programmers (one man shops). We talked about our core development tools Delphi, Paradox, VB, and Access as well as our web site development efforts. Of particular interest was Prestwood Software Development Methodology (PSDM); our recipe for building software., , We were the only vendor there that I saw displaying and talking about Delphi. Since Delphi was not represented well, we've decided that at the next...
    Posted to MB Topic: Delphi News / Other
    12 years ago
    3 replies. Last post:

    mprestwood
    GTC stands for Government Technology Conference. It's held here in Sacramento about this time of year every year and we've done two of them. They are important and a great way to market a consulting firm like us. If we hadn't had the downturn in the economy, we would have done these every year. My hope is to participate in next year's conference. It's about $3k to $5k to participate. The fellow in the second picture is Jorge Herrera. He was...
    48 months ago
    Nothing New Since Your Last Visit
    905
    Hits
    -
      Load Time=1 seconds.
     
    Print This
    -
     
    Have a question? Need our services? Contact us now.
    --Mike Prestwood

    Call: 916-726-5675

    email: info@prestwood.com


    566 People Online Now!!  
    Online Now: Sign In to see who's online now!  Not a member? Join now. It's free!
    Show More...


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