delphi.517guta,
TProgress & TLineList component 1.0
TProgress is a component for breakable program progress indication.
TLineList is a component to process huge text files sequentially.
Demo project is attached to show how easy to use it.
progline.zipdelphi.518guta,
Postavite vašu ikonu i program u Systray (ikonice kontradesno od sata u
taskbaru).
taskbara.zipdelphi.519guta,
TStretchPanel Component ver 1.03
TStretchPanel is a Delphi component which resizes any control placed
on it (and the controls' fonts too.). It inherits all properties from
the standard TPanel supplied with Delphi and adds 5 more: Anchors,
KeepAspect, MinDimension, StretchControls, and StretchFonts. See the
help for information regarding these properties.
This version contains both 16 and 32 bit DCU components for Delphi 1 and 2
tsdem103.zipdelphi.520guta,
WordCap - provides a gradient filled caption bar, with Italic
text, in the style of MSOffice for Win95.
Ovo je poslednja komponenta u ovoj seriji.
wordcap.zipdelphi.521matke,
Molim za pomoc,
naime vec par puta sam ostavljao poruke ali
nisam dobio adekvatan odgovor.
Evo o cemu se radi. Pravim program koji koristi tabele (dbf) i
potrebno je da sa SQL upitom prebroj redove koji zdovoljavaju uslov.
Dali je moguce da taj broj dobijem u nekoj lokalnoj promenjljivoj
(integer) ili nekako da se raspitam dali je rezultat pretrazivanja
NULL.
Do sada sam dobijao odgovore sa savetima kako se to radi u VBasicu
ali sumnjam da moze tako.
Pozdrav.
delphi.522guta,
Borland announces Delphi 97 (Delphi 3)
Borland najavljuje Delphi 97 (alias Delphi 3) za drugi kvartal ove godine,
što će reći na proleće. Još detalja o novom proizvodu ću preneti ovde kada
mi Borlandov menadžer za Delphi liniju proizvoda odgovori na pitanje
u Delphi forumu :)
delphi.523janko,
-> #521, matke
> naime vec par puta sam ostavljao poruke ali
> nisam dobio adekvatan odgovor.
> Evo o cemu se radi. Pravim program koji koristi tabele (dbf) i
> potrebno je da sa SQL upitom prebroj redove koji zdovoljavaju uslov.
> Dali je moguce da taj broj dobijem u nekoj lokalnoj promenjljivoj
> (integer) ili nekako da se raspitam dali je rezultat pretrazivanja
> NULL.
Jesi li ostavio kod koji ti pravi problem? Ako nisi, ostavi.
Ima puno ljudi koji znaju odgovor, ali ne znaju šta u stvari hoćeš.
Napravi projekat koji radi sve ostalo što je potrebno za odgovor,
označi taj kritičan upit, pokaži gde koristiš rezultate upita i šta
ti fali, i neko će ti odgovriti!
delphi.524tores,
-> #522, guta> mi Borlandov menadzer za Delphi liniju proizvoda odgovori na pitanje
> u Delphi forumu :)
Odatle su neki (i to glavni kako sam cuo) prebegli u Microsoft :)
Bice da ce Delphi 3 ipak malo da zakasni :)))
delphi.525guta,
-> #524, tores
#> Odatle su neki (i to glavni kako sam cuo) prebegli u Microsoft :)
Da, jedan od vodećih projektanata Delphi-ja je otišao u Microsoft.
Međutim, koliko se ja sećam, to se desilo pre 4-5 (ako ne i više)
meseci, pa je do sada taj tim imao vremena da se konsoliduje. No,
vreme će pokazati...
#> Bice da ce Delphi 3 ipak malo da zakasni :)))
Najavljuju ga za mart, videćemo koliko će kasniti.
P.S. Posle dužeg vremena, deonice Borlanda su počele naglo da rastu -
uzrok je predstavljanje i početak prodaje Borland C++ Builder-a, koji za
sada nema konkurenciju među alatima za Windows, osim možda samog
Delphi-ja. Ubr, posle skoro 2 godine, i konstantnog rasta od 60 na
preko 100 dolara, deonice Microsoft-a u poslednjih mesec dana beleže pad.
Trenutno su na nešto iznad 90 dolara. Trend za budućnost? Nadam se :>
delphi.526obren,
-> #525, guta> P.S. Posle dužeg vremena, deonice Borlanda su počele naglo da rastu
> - uzrok je predstavljanje i početak prodaje Borland C++ Builder-a,
> koji za sada nema konkurenciju među alatima za Windows, osim možda
> samog Delphi-ja. Ubr, posle skoro 2 godine, i konstantnog rasta od
> 60 na preko 100 dolara, deonice Microsoft-a u poslednjih mesec dana
> beleže pad.
Ne sećam se gde, mislim da je neki slovenački časopis, naleteo sam
na kraći intervju sa jednim zvaničnikom Borlanda koji je izjavio da
su izašli iz krize koja ih je drmala shvativši da su programerski
razvojni alati ono po čemu je Borland poznat. Najavio je da će se
ubuduće vratiti korenima i skoncentrisati uglavnom na proizvodnju
onog što najbolje znaju, a to su kompajleri i RAD alati.
delphi.527nenad,
-> #526, obren> Najavio je da će se
> ubuduće vratiti korenima i skoncentrisati uglavnom na proizvodnju
> onog što najbolje znaju, a to su kompajleri i RAD alati.
U tom smislu značajna je i ova najava:
Borland and Oracle have announced Oracle's decision to license
Borland's rapid application development tools for use with Oracle
database systems and application development tools. Under the
terms of the license agreement, Oracle will integrate and
distribute Borland C++Builder and JBuilder software tools with a
number of Oracle's existing and future products.
delphi.528velicko,
-> #527, nenad│ Borland and Oracle have announced Oracle's decision to license
│ Borland's rapid application development tools for use with Oracle
└───────────────────────────────────────
Verovatno je Oracle odlučio da pojača Power Objects.
│ terms of the license agreement, Oracle will integrate and
│ distribute Borland C++Builder and JBuilder software tools with a
└───────────────────────────────────────
Očigledno postoji trend implementiranja RAD alata za
baze nad C++ jezicima. Primer je Power Builder, ako se ne varam.
delphi.529spantic,
-> #528, velicko> Očigledno postoji trend implementiranja RAD alata za
> baze nad C++ jezicima. Primer je Power Builder, ako se ne varam.
Ne baš. Pravi primer je Optima++ koji je sjajan RAD alat za
rad sa bazama podataka. Ono što je najbolje u tome je da osnovni
paket zapravo uopšte nije skup.
delphi.530spiderman,
Evo i mog malog priloga ovoj konferenciji : TDrivInfo 1.0 .
-----------------
TDrivInfo 1.0 je nevidljiva komponenta napisana za Delphi 2.0 koja
daje informacije o drajvovima na vašem kompijuteru , odnosno
njihov broj ,znak , tip i naziv.(razlikuje da li je u cd-u audio ili
data CD) - Detaljnije uputstvo u ReadMe.txt ,u arhivi.
Ja sam tvorac ove komponente , ukoliko imate predloge ,pitanja
obratite mi se na mail ;)
drivinf.zipdelphi.531dekik,
Pitanje :
Kako da pritiskom na dugme otvorim josh jedan prozor ?
Unapred Hvala ;)
delphi.532hercog,
-> #531, dekik(*> Kako da pritiskom na dugme otvorim josh jedan prozor ?
Zakačiš na formu A dugme. U button/click ukucaš jedno
forma_b.show; napraviš formu B i to ti je :)
Sale
delphi.533van.gog,
Pozdrav narode !!!
Program samo za VAS! Radjeno u Delphi-u, dakle:
- Ne zauzima mnogo, svega 300-400 Kb na disku.
- Nema gomilu .dll fajlova tako da je stravicno portabilan.
(onaj jedini bivbx11.dll treba staviti u windows-ov directory)
- RESICE VAM PITANJE IKONA NA DESKTOPU.
- Uvek pristupacan, a NE ZAUZIMA NIKAKAV prostor na ekranu.
(samo pomeriti misha na desnu ivicu ekrana i ...)
- moguce je brzo "silazenje" u DOS prompt.
- IMA UGRADJEN CD-PLAYER. !
- URADJEN RING DETECTOR !
(preko vaseg modema proverava da li zvoni telefon i signalizira)
(vise nije potrebno utisavati zvuk i osluskivati svakih 5 sec
da li telefon zvoni - koliko mi se samo ovo puta desilo -
a posle mi pricaju kako su me zvali ali nikog nije bilo kuci)
Moguca je zvucna i/ili vizuelna signalizacija !!!
Po "naredbi" Gute, poslah ovo pa sta bude :)))
deskplus.rardelphi.534dekik,
-> #532, hercog
D?>> Zakacis na formu A dugme.U button/click ukucas jedno forma_b.show;
D?>> napravis formu B i to ti je :)
Sorry ja sam pochetnik jel bi mogo malo da pojasnish ?
delphi.535hercog,
-> #534, dekik(*> Sorry ja sam pochetnik jel bi mogo malo da pojasnish ?
1. Kreiraš jednu formu, zvaćemo je FORMA A
2. Kreiraš drugu formu, zvaćemo je FORMA B
3. Na formu A staviš jedno dugme, obično, zvaćemo ga DUGME
4. Klikneš jednom na dugme i u object insprectoru klikneš na
tab events
5. Izabereš sa liste event CLICK
6. Otvori ti se prozor sa kodom i u njemu napišeš
ime_forme_b.show;
7. Startuješ sve i to radi
Inače imena formama daješ takođe u object inspectoru u tabu
properties, stavka name. Naravno fokus mora da ti bude na
formi, a ako nije, iz kombo boksa izabereš objekat formu.
Sale
delphi.536spiderman,
TFit 1.0
Tfit 1.0 je nevidljiva komponenta napisana za Delphi 2.0 koja
podešava veličinu forme tako da se ona precizno uklapa na celu
vidljivu površinu desktop-a u normal stanju forme , radi čak
i u projektnoj fazi .
By spiderman ...
fit.zipdelphi.537dekik,
-> #535, hercog
D?>> Inace imena formama dajes takode u object inspectoru u tabu
D?>> properties,stavka name.Naravno fokus mora da ti bude na formi,a ako
D?>> nije,iz kombo boksa izaberes objekat formu.
Hvala ti za ovo ali zaboravio sam josh jednu stvar.
Kako da namestim da forma bude fixne velichine odnosno da se nemozhe
povechavati i smanjivati nego samo kako je ja napravim ?
Hvala.
delphi.538dekik,
-> #535, hercog
D?>> 6.Otvori ti se prozor sa kodom i u njemu napises ime_forme_b.show;
A on che ti meni Unknown identifier.
delphi.539dekik,
Kako da privremeno iskljuchim pulldown menu ?
delphi.540dekik,
-> #535, hercog
D?>> Inace imena formama dajes takode u object inspectoru u tabu
D?>> properties,stavka name.Naravno fokus mora da ti bude na formi,a ako
D?>> nije,iz kombo boksa izaberes objekat formu.
A da pojasni malo to za focus.
delphi.541tores,
-> #540, dekik>>> A da pojasni malo to za focus.
Resenje za sve tvoje muke je Visual Basic. Mada ni tamo nece ici lako
ako ne baratas osnovnim pojmovima o programiranju pod Windows-ima.
Probaj prvo malo sa nekom knjigom, pogledaj primere (imas ih gomilu i
u Delphi-ju i u Visual Basic-u) pogledaj kako funkcionisu programi
pod Windows-ima pa ces polako da shvatis te osnovne stvari (fokus,
modal/modeless prikazivanje formi, forme/dijalozi...)
delphi.542hercog,
-> #537, dekik(*> Kako da namestim da forma bude fixne velichine odnosno da se nemozhe
(*> povechavati i smanjivati nego samo kako je ja napravim ?
U object inspektoru podesiš property forme, mislim da se
zove style il tako nekako O:) (ne znam mu ime ovako napamet) i
to da mu vrednost bude dialog...
Sale
delphi.543hercog,
-> #538, dekik(*> A on che ti meni Unknown identifier.
Jesi li siguran da si potrefio pravi naziv druge forme?
Sale
delphi.544dekik,
-> #541, tores
D?>> Resenje za sve tvoje muke je Visual Basic.Mada ni tamo nece ici lako
D?>> ako ne baratas osnovnim pojmovima o programiranju pod Windows-ima.
D?>> Probaj prvo malo sa nekom knjigom,pogledaj primere (imas ih gomilu i u
D?>> Delphi-ju i u Visual Basic-u)pogledaj kako funkcionisu programi pod
D?>> Windows-ima pa ces polako da shvatis te osnovne stvari (fokus,
D?>> modal/modeless prikazivanje formi,forme/dijalozi...)
Ma ja znam odlichno turbo paskal, a poshto je delphi slichan zato sam
ga i uzeo samo shto ne znam bash programiranje pod win-om ;(
delphi.545dekik,
-> #543, hercog
D?>> Jesi li siguran da si potrefio pravi naziv druge forme?
Pa ima forma1 i forma2 i u formi 1 kucam forma2.show; a on meni to.
A mozhda treba nekako da ih povezhem jer mi je napravio unit1 i unit2 ?
delphi.546guta,
-> #545, dekik
#> A mozhda treba nekako da ih povezhem jer mi je napravio unit1 i unit2 ?
Potrebno je da u dodaš Unit2 u uses listu Unit1 modula.
Dakle, pri vrhu Unit1 modula ćeš naći uses ..., ..., itd., potrebno je
da na kraj te liste dodaš Unit2, da bi objekti iz Unit2 postali
vidljivi u Unit1 modulu.
delphi.547guta,
-> #541, tores
#> Resenje za sve tvoje muke je Visual Basic. Mada ni tamo nece ici lako
#> ako ne baratas osnovnim pojmovima o programiranju pod Windows-ima.
Ako vam je dosadno, pokrenite Visual Basic program i ostarite :>
Nešto nisam upoznat da prikazivanje jedne forme u event-u druge ide
drugačije u VB...
delphi.548nenad,
Delphi 3 izlazi u maju, a evo testa beta verzije.
Rapid application development tool
The new features and enhancements in the beta release of
Borland's Delphi 3 Client/Server Suite offers stiff
competition in the rapid application development (RAD)
tools arena, closing the gap on rival Visual Basic 5.0,
Professional Edition. With Delphi, developers can achieve
some impressive results but at the possible expense of
diminished productivity due to a less intuitive interface.
Delphi 3 has about 50 enhancements. Though some
improvements, such as those to development tools, ActiveX,
and Web support, are reminiscent of Microsoft's recently
released Visual Basic 5.0 Professional Edition, there are
some areas where Delphi surpasses Visual Basic.
For example, Borland smoothly integrated decision-support
components into Delphi. Although Visual Basic includes
Crystal Reports, the decision-support capability within the
Delphi integrated development environment (IDE) greatly
simplifies the creation of these types of applications.
With Delphi's Decision Cube component, you can see your
data in multidimensional, spreadsheet-like views. You can
then drill down, pivot, and aggregate the data. I was
impressed with Decision Cube's flexibility. But using the
pivot function against a rather small data set resulted in
a much slower-than-expected performance. Quick Reports has
useful reporting capabilities. I liked the TeeChart
component, which let me create an array of graphical data
views.
Borland has improved database access in this version of
Delphi. The included native database drivers support DB2,
Microsoft and Sybase SQL Servers, Oracle, and others. The
visual SQL tools are now on par with other RAD products,
too.
Like Visual Basic, Delphi 3 adds new wizards aimed at
improving developer productivity and accuracy. Code
Template Wizard ensures that you adhere to proper syntax by
completing the statement as you type. You can also add your
own code templates to the wizard.
Delphi also provides Code Completion and Code Parameter
Wizards. The former provides the properties, methods, and
event names for a component, and the latter shows the
parameters for functions, methods, and events.
An option setting lets you enable or disable the automatic
wizard, as well as set the speed at which they appear. I
didn't particularly like the prompts, so I chose to disable
the wizards and felt more productive without them.
The Delphi integrated development environment (IDE)
provides the expected features and functions, such as the
capability to drop components onto forms, an extensible
component palette, and an object repository. Delphi also
supports third-party version control products and the
capability to add external tools. Finally, compiler
performance remains speedy.
For comparison purposes, I created many typical business
applications, such as sales and inventory, using the Delphi
3 beta and Visual Basic 5.0 Professional Edition. Both
products delivered the functionality I needed, but Delphi's
IDE seemed to require more development steps to achieve the
same outcome. With Delphi, you can create ActiveX controls
and generate object-oriented native controls. Controls
created in Delphi don't require a DLL for distribution and
interoperate well with other development products.
Delphi now provides built-in COM support, so you can reuse
objects that will interoperate with other standards, such
as Active Documents. As you might expect, this edition of
Delphi lets you deploy applications to the World Wide Web.
WebBridge, for example, provides a common interface for
both Microsoft Internet Information Server and Netscape
Server. It is then easier to create an application without
concern for Web server-specific issues.
To improve Delphi's scalability, Borland has added three
brokers that address multitier issues, such as managing
client and server data interaction, business rules,
redundancy, and load balancing. In particular, Remote
Object Broker even lets you more easily create remote or
off-line applications.
Borland plans to offer Enterprise and AS/400 Editions of
Delphi in the near future.
Given the added features and enhancements in Delphi 3, it's
well worth evaluating.
THE BOTTOM LINE
Delphi 3 Client/Server Suite, beta
Although corporate developers will appreciate the wealth of
features and enhancements in this version of Delphi, some
may find the environment less intuitive than other RAD
offerings.
Pros: Capability to create and deploy applications in
multitiered client/server and Web environments; powerful
data-manipulation tools; fast compiler.
Cons: Slow performance during multidimensional data
analysis.
delphi.549dekik,
-> #546, guta
D?>> Dakle,pri vrhu Unit1 modula ces naci uses ...,...,itd.,potrebno je da
D?>> na kraj te liste dodas Unit2,da bi objekti iz Unit2 postali vidljivi u
D?>> Unit1 modulu.
Toliko znam iz pascala ;)
delphi.550guta,
-> #549, dekik
#> Toliko znam iz pascala ;)
Pa u čemu je onda problem?
delphi.551dekik,
-> #550, guta
D?>> Pa u cemu je onda problem?
Hteo sam da kazhem da mi je bilo dovoljno ono da treba u uses a nisi
trebao da mi objasnjavash gde se to nalazi itd. ;)
delphi.552janko,
-> #533, van.gog
> Pozdrav narode !!!
>
> Program samo za VAS! Radjeno u Delphi-u, dakle:
>
> - Ne zauzima mnogo, svega 300-400 Kb na disku.
> - Nema gomilu .dll fajlova tako da je stravicno portabilan.
OK, za program, samo je pitanje da li je trebalo da ga objaviš baš u
PCPROG. Ovde će ti ga naći samo programeri (konferencija bi trebalo
da se zove PROGRAMIRANJE (milioniti put ponavljam) i bavi se
programiranjem a ne programima. Iskreno rečeno, čini mi se da bi
program probalo VIŠE ljudi ako bi ga okačio u neprogramerskoj
konferenciji?
delphi.553guta,
Posle dužeg vremena, nastavljam sa kačenjem raznih Delphi komponenti.
Ipak, da sve ne bude kao pre ;) pobrinuo se Borland - u međuvremenu je
izašao Borland C++Builder, "Delfoliki C++", koji može da koristi
Delphi komponente - dakle, ovo više nisu isključivo Delphi, već i
C++Builder komponente.
Ipak, zbog tradicije, serija se nastavlja u ovoj temi.
Obratite pažnju na prvu komponentu u ovoj seriji - u pitanju je delo
našeg (šta god to našeg značilo ;) autora.
Uz poruku:
ACSExport
Directly export data from tabel to MS Access file
by Predrag Vujic
acsexpor.zipdelphi.554guta,
TAdressBook component allows you to manage an adressbook with
an Explorer-type shell in your application. It can be used in a
multi-users environment
adb32.zipdelphi.555guta,
Analog clock component with different shapes and colors for pointers
anaclk32.zipdelphi.556guta,
Component that shows Win95 style animations (like files flying from
one folder to another),
NEW: with AVI creation tool
anisymbl.zipdelphi.557guta,
TAssistant is an visual Component which makes it possible to create a
one-page Dialog and a multi-page Wizard/Assistent (like Microsofts)
simultaneously. New in 1.1: Changed TButton to TBitBtn, TAGroupBix, new
Demo project ...
assi.zipdelphi.558guta,
Statusbar with Alarm, Time and date display. Can beep every second and
has a progressbar built-in. Also can display the day in 4 languages
atstat.zipdelphi.559guta,
Property editor for glyphs
averiw.zipdelphi.560guta,
Old borland C++ for windows style chekckbutton implementation, wich
allows to make it rigthjustify
avhebchk.zipdelphi.561guta,
TBDEInfo Data Base Component
bde_inf.zipdelphi.562guta,
For CGI application : The TBrowserType component will determine browser
capabilities (Tables, JavaScript etc.) based on the UserAgent HTTP header.
Compatible with the BROWSCAP.INI distributed with Microsoft's ASP
browscap.zipdelphi.563guta,
Delphi Component wrapped Borland Windows Custom Controls(BWCC). Also a
good example for how to use classes in DLLs
bwccdel.zipdelphi.564guta,
Functional demo of Component Create, a professional tool for building
Delphi VCL components. 32bit with Thread Component Toolset
cc32.zipdelphi.565guta,
The ColorCombo component provides a combo box to select a color from.
That's it!
combo.zipdelphi.566guta,
Runtime Object Inspector / Component Editor
comped.zipdelphi.567guta,
DateEdit-Component with enhanced capabilities
datebox.zipdelphi.568guta,
Database Control component for DateTime field with drop down calendar
dbdated.zipdelphi.569guta,
TDBNGrid is Delphi component which can Resize Columns in runtime and put
Buttons instead of DBGrid titles
dbngrid.zipdelphi.570guta,
VCL with user search dialog; searches any DataSource.
Does NOT require indexes, but uses them if found
dbsrch30.zipdelphi.571guta,
DBNavigator vertical like '97 applications
dbvnav97.zipdelphi.572firus,
-> #552, janko Ja> OK, za program, samo je pitanje da li je trebalo da ga objaviš baš u
Ja> PCPROG.
Ja ne vide nikakav fajl uz poruku, moguće da sam skidao poruke dok je
čovek kačio fajl.
Ako se radi o source-u, valjda je logično da ga ostavi ovde?
Ako je samo program, onda je trebalo tamo.
Empire
delphi.573guta,
Delphi Navigator is a Delphi-Expert, which finds all classes and methods
of your actually open source code, shows them in listboxes and allows
to find quickly all methods in your source code.
dnavig_e.zipdelphi.574guta,
The EditCalendar is a fully usable Pop-out Calendar Edit box. It features
a pop-out calendar visible only during run time. It is very user friendly
and it has a DateFormat property which allows the user to specify the
format of the Date shown
editcal.zipdelphi.575guta,
Like TShape but displays Polygon, Arc, Pie and so on.
If you want to edit this component shape, Use EShape Component
Editor which is like MS-Word Draw
eshape10.zipdelphi.576guta,
Obratite pažnju na ovu komponentu, opis zvuči jako zanimljivo:
Supports Voice Commands recognition by encapsulating
SAPI (Speech Application Programming Interface).
Microsoft Voice and IBM VoiceType 3.1 both support SAPI
evc104.zipdelphi.577guta,
Ancestral Forms - Intelligent Form Inheritance
fiform.zipdelphi.578guta,
THintEngine - component for easy work wih hints. Visual TApplication
variables (HintColor, HintPause), events(OnHint,OnShowHint),
additional events (OnDrawHint, OnActivateHint, OnHideHint)
hengine.zipdelphi.579guta,
Port[], physical memory access, hardware interrupt handling
under both Windows 95/NT
hw_32.zipdelphi.580guta,
InterProcess Communication for Win95/NT: VCL that sends record structures
between processes on your Computer or even across Networks
intprccm.exedelphi.581guta,
Resource file that contains changed glyphs for TDirListBox and
TDriveComboBox. They now looks like real Win95's ones
makeup95.zipdelphi.582guta,
TMarquee is a scrolling marquee component much like what you see on
blimps or stadium scoreboards. TMarquee includes properties that allow
the programmer to specify font and alignment of text, the size and
shape of the dots
marquee.zipdelphi.583guta,
A component to send SMS messages to GSM mobil phones via a gateway
supporting the ETSI PS Standard - UCP (Universal Computer Protocol)
mdsms10.zipdelphi.584guta,
A component to easily handle the WM_GETMINMAXINFO message as well as
one to enable inter-application drag and drop. The MinMax component
has a nice set of design time features
min_max.zipdelphi.585guta,
TMediaPlayer decendant, that allows the programmer to control multiple
devices of the same type f.e. 4 Audio-CD drives
mplayerp.zipdelphi.586guta,
Update to Mr. Tips, a Tip of the Day system for Delphi (no DLLs or VBXs).
Mr. Tips is by far the easiest: only two lines of Delphi code to add
Mr. Tips into any Delphi program.
mrtips.zipdelphi.587guta,
Improvement of Brad Stowers' mrulist, ability to have the reopen command
work like in delphi, saves it's mru-files in the registry
mruflist.zipdelphi.588guta,
TmgNetUserName is a non-visual vcl that returns the username used to
login to your LAN. It uses BDE calls, so it should work with any
network recognised by Windows.
netnam12.zipdelphi.589guta,
Enhanced string grid featuring combo boxes, bitmap flags, user triggers,
cell-independant fonts, cell-independant coloring - and of course,
GridWizard. Also contains several advanced programming configurable
run-time options!
nfigrid.zipdelphi.590guta,
This is a Jpeg, GIf, BMP, PCX, TGA display and save to JPG dll which
should be able to use in VB, Delphi, C, C++
nviewlib.zipdelphi.591guta,
OpenGL (version 1.1) header translation for Delphi 2.0, included are
GL.pas and GLU.pas but no samples
opengl11.zipdelphi.592guta,
This component encapsulates nearly all PGP for DOS function calls
pgpcomp.zipdelphi.593guta,
PrevInstanceCheck for 32bit. Features: Pass CmdLine parameters to your
previous instance Unload the second instance immediately Control
flashing of the second instances Main form Alerted of a previous loaded
instance system wide/same Dir.
pinstnce.exedelphi.594guta,
TPlusMemo is a replacement for TMemo that supports unlimited amount
of text and selective text formatting
plusmemo.zipdelphi.595guta,
PopupBox v3.15, a component for Delphi 2 and Borland C++Builder, is a
replacement for ComboBox and DBComboBox. It has a smart looking
3D-Style and many properties to control appearance and behavior
popupbox.zipdelphi.596guta,
Project Cloner. Its easy to use!! Drop a .DPR or .PAS file on it and
then choose a directory to clone to the entire project or program.
Project Clone take care of all !!! No more stress deciding which unit
or resource (*.dfm, *.res) are used by the project
prjclone.zipdelphi.597guta,
Prints or exports data from an associated DBGrid
prtgrd3b.zipdelphi.598guta,
TmgPrevInstance is a simple component that tests for other instances of
an EXE running. It uses a 16/32 bit compatible method, you can specify
how many instances are allowed to run, and an event that fires when an
instance is found
prvins11.zipdelphi.599guta,
TQExport component that allows you to export the result of a Query to a
Word document or an Excel sheet
qexport.zipdelphi.600guta,
Component that allows programmers to add a shareware registration method
to their programs
regloc.zipdelphi.601guta,
TSystemHide component give you access to visible prop. of some system
components (DeskTop, TaskBar etc.)
shide.zipdelphi.602guta,
Kenn Nesbitt's ShareLock lets you turn any Delphi32 or Borland C++ Builder
application into a trial version with as little as one line of code. Lock
your software after a specific number of days or executions, or on an
absolute date.
sl32u14.zipdelphi.603guta,
TSuperBevel is a graphical component that extends the capabilities
of TBevel. It allows you to change the colour and the width of the
bevel and to add a caption
supbvl32.zipdelphi.604guta,
Highly-detailed system info retrieving component. Provides info about
memory, drives, processors, version...
sysinfo.zipdelphi.605guta,
Written to do everything Database Desktop can't. Execute SQL, Edit
Tables, Transfer data, Link SQL results/Tables to tables.
Roll-ups. SQL Threaded.
tables32.zipdelphi.606guta,
Minimalist asynchronous socket support. Designed for compact and
efficient use. Built directly upon TComponent, unlike many other socket
implementations. Useful for game programming.
tasockv1.zipdelphi.607guta,
Displays poker chips with variable values for use in a variety of
card games.
tchipv1.zipdelphi.608guta,
Transparent SpeedBarButton
transbtn.zipdelphi.609guta,
It's just ordinary label, but you can run URL-s and files by clicking
on it!
urllabel.zipdelphi.610guta,
The WinTaskBar Component is a Delphi 2.0 Component for adding and managing
an Icon in the Windows Taskbar Notification area of the Windows95 or
Windows NT 4.0 Taskbar.
wtaskbar.zipdelphi.611guta,
A small unit that shows how to use animated cursors under the Win32
operating system as a replacement for crHourGlass.
xcursor.zipdelphi.612guta,
XListBox is a listbox with two asociated Glyphs per entry so you can
easily implement a checklist in your applications
Ovo je bila i poslednja komponenta u ovoj seriji.
Nadam se da će vam ove komponente biti od koristi :)
xlist.zipdelphi.614biber,
Zašto sledeci (inace sintaksno ispravan) primer ne daje
rezultat koji ocekujem (a ocekujem da heder.tekst sadrzi prva
cetri slova fajla "c:\fajl.txt")?
type
uvod = record
tekst:string[4];
...
...
...
end;
var
buffer: pointer;
heder: uvod;
buffer := Addr(heder);
imefajla := 'c:\fajl.txt';
hendl := FileOpen(imefajla, fmInput);
FileRead(hendl, buffer, 4);
FileClose(hendl);
Label1.Caption:= heder.tekst;
delphi.615guta,
-> #614, biber
#> Zašto sledeci (inace sintaksno ispravan) primer ne daje
#> rezultat koji ocekujem (a ocekujem da heder.tekst sadrzi prva
#> cetri slova fajla "c:\fajl.txt")?
Uf... jeste sintaksno ispravan, ali...
Dakle, redom:
#> hendl := FileOpen(imefajla, fmInput);
Umesto fmInput, za FileOpen funkciju treba koristiti
fmOpenRead, fmOpenWrite ili fmOpenReadWrite, zavisno od namene,
or-ovano sa nekom od fmShare... konstanti. Ovaj red ide ovako:
hendl := FileOpen(imefajla, fmOpenRead or or fmShareDenyNone );
#> FileRead(hendl, buffer, 4);
Ovde se krije prva zamka, FileRead je deklarisana kao:
function FileRead(Handle: Integer; var Buffer; Count: Integer): Integer;
...obrati pažnju na drugi parametar: var Buffer - kada funkciji proslediš
tvoju buffer varijablu, ona će uzeti _pointer na nju_, a neće nju
shvatiti kao pointer na mesto gde treba da učita niz bajtova, pa će
srećno & veselo pročitati četiri bajta preko varijable buffer, time
menjajući njen sadržaj. Nisam ovo baš najsrećnije formulisao, ali se
nadam da se može shvatiti :)
Znači, umesto varijable (pointera) buffer, treba proslediti
varijablu heder:
FileRead(hendl, heder, 4);
ili
FileRead(hendl, heder.tekst, 4);
ako tekst nije prvo polje u heder record-u.
Međutim, ovde se krije druga greška (i zamka):
Stringovi u paskalu se sastoje od nultog bajta u kome se nalazi dužina
stringa, pa zatim niza bajtova koji čine taj string. Dakle, ako se,
kao u redu koji sam napisao, prosledi heder, prvi od četiri pročitana
bajta biva prepisan preko nultog bajta stringa, time uništavajući
bajto koji određuje dužinu stringa, a ostala tri bajta idu regularno
u prva tri bajta stringa tekst.
Rešenje je ili koristiti PChar stringove (stringove a la C, bez nultog
bajta za dužinu, sa nulom na kraju, što će reći null-terminated strings),
ili čitati iz fajla na neko drugo mesto, ne direktno u string
delphi.616tojagic,
'Vako
Kako da napravim svoj *.db (database) file ?
Unapred Hvala ;)
delphi.617guta,
-> #615, guta
#> hendl := FileOpen(imefajla, fmOpenRead or or fmShareDenyNone );
--
Lapsus čukalis :) Naravno, treba samo jedan or.