Delphi Pages Forums  

Go Back   Delphi Pages Forums > Search Forums

Lost Password?

Showing results 1 to 50 of 192
Search took 0.06 seconds.
Search: Posts Made By: PowerOrb
Forum: General 09-22-2007, 03:54 AM
Replies: 0
Views: 821
Posted By PowerOrb
TWEbBrowser - page with close window function

My application pops an form with an twebbrowser that opens an page that has an Javascript function that after 25 seconds it closes itself.

Opening the page on Internet Explorer it works correctly...
Forum: General 08-02-2006, 06:36 AM
Replies: 4
Views: 1,889
Posted By PowerOrb
RE: HTTP post data

Letīs suppose your have this html code:

<form action="http://www.mywebsite.com/cgi-bin/mycgi.exe/test" method=post>
<input type="text" name="user">

<input type="text" name="pass">

...
Forum: General 02-22-2006, 08:42 AM
Replies: 2
Views: 815
Posted By PowerOrb
JPEG - canīt load the image

Hi, Iīm loading an Jpeg Image but itīs colors and size is displayed incorrectly in an TImage

Someone told me that is because it is encoded with something called CMYK. Does delphi supports load...
Forum: DB-Aware 01-18-2006, 08:10 AM
Replies: 4
Views: 1,262
Posted By PowerOrb
RE: DBGrid question

That worked, thanks

there were one more thing, when the user moves to the last row and press the down key, the table enters in insert mode. Solved this with this code

procedure...
Forum: DB-Aware 01-18-2006, 06:10 AM
Replies: 4
Views: 1,262
Posted By PowerOrb
RE: DBGrid question

If I do what you posted Iīll have to set the property ReadOnly of the DBGrid to False, what will allow the user to press CTRL+DELETE and delete the record or press Insert and insert an record.

I...
Forum: DB-Aware 01-18-2006, 04:50 AM
Replies: 4
Views: 1,262
Posted By PowerOrb
DBGrid question

Hi,

I'm using an dbgrid with 3 columns, only the 3rd is editable, the others are set as readonly.

When the user press the CTRL + DELETE in the dbgrid it deletes the record and when the user...
Forum: General 11-26-2005, 02:59 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Canīt be the disposition of the controls, I asked for it to see the layout of the form

I want the dfm to test on win98 that I have at home, just do some tests

if you want click with the right...
Forum: General 11-26-2005, 01:18 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Iīd try to simulate the problem here and try to figure out how to fix it, just to see the disposition of the controls.

Best Regards!

________________________________________________________
...
Forum: General 11-25-2005, 10:37 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

I have win 98 at home, in fact I installed it yesterday, you could post the dfm so I could test for you in an clean installation.

Best Regards!
...
Forum: General 11-23-2005, 04:22 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Every control have the property Anchors that attatch them to the form borders, check if this property are set correctly in your components

Best Regards!
...
Forum: General 11-22-2005, 09:18 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Try setting the formīs property AutoScroll to False

Best Regards!

________________________________________________________

Sometimes it's hard to recognize what is reality and what is...
Forum: General 11-22-2005, 07:35 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Those properties that I told you to check was to confirm if your form was using the "scale" effect, but as you said they are as Delphi defaults!

Sorry, in the second part I wanted to say that you...
Forum: General 11-22-2005, 04:48 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

No, thatīs right,

try these ones:

- check the formīs porperty PixelsPerInch that shoud be 96

- try to set the windows video options to its default, and the themes to Windows Default
...
Forum: General 11-22-2005, 02:50 AM
Replies: 16
Views: 2,441
Posted By PowerOrb
RE: bsSingle and bsSizeable

Check if your form's property PrintScale is poProportional and Sclaed is true

Best Regards!

________________________________________________________

Sometimes it's hard to recognize what is...
Forum: General 11-16-2005, 08:40 AM
Replies: 4
Views: 1,889
Posted By PowerOrb
RE: HTTP post data

I use ICS from http://www.overbyte.be, an component package that encapsulates the most commom used protocols that we have today for comunication over the network

the example above shows how to do...
Forum: General 11-11-2005, 04:18 AM
Replies: 2
Views: 7,683
Posted By PowerOrb
RE: StringGrid again (disable highlight color of select area)

Set the property DefaultDrawing of the stringgrid to false

on the OnDrawCell event insert this code:

procedure TForm1.GridDrawCell(Sender: TObject; ACol,
ARow: Integer; Rect: TRect; State:...
Forum: General 11-05-2005, 01:52 AM
Replies: 9
Views: 5,354
Posted By PowerOrb
RE: PopUpMenu position!

Sorry, the grid was inside an panel that was inside an scrollbox, thank you, I'd never get to this if wasnīt you!

Solved changing this line to call the method ClientToScreen of the panel instead...
Forum: General 11-04-2005, 04:04 AM
Replies: 1
Views: 874
Posted By PowerOrb
RE: ActiveX and socket

Hi Cristian,

when deveoping an ActiveX, you can use whatever you want inside it. Just start an new Active Form Project and Delphi opens for you an form, then you can program your application as if...
Forum: General 11-04-2005, 03:10 AM
Replies: 9
Views: 5,354
Posted By PowerOrb
RE: PopUpMenu position!

happened the same as the other replies, it works perfectly until I scroll down the scrollbox

Best Regards!

________________________________________________________

Sometimes it's hard to...
Forum: General 11-04-2005, 03:07 AM
Replies: 9
Views: 5,354
Posted By PowerOrb
RE: PopUpMenu position!

it worked until I scroll the vertical scrollbar down, the popupmenu appeared in an wrong position

Best Regards!

________________________________________________________

Sometimes it's hard...
Forum: General 11-04-2005, 03:01 AM
Replies: 9
Views: 5,354
Posted By PowerOrb
RE: PopUpMenu position!

when the scrollbox is not scrolled (the verticar scrollbar position is 0) it worked correctly, but when the scrollbox is scrolled the popupmenu appears in an wrong position

Best Regards!
...
Forum: General 11-03-2005, 10:22 AM
Replies: 9
Views: 5,354
Posted By PowerOrb
PopUpMenu position!

My forma have a scrollBox with an grid inside. I create manually some speedbuttons inside the grid (SpeedButton.parent := Grid). when clicking these buttons an popup menu should appear below it.
...
Forum: General 09-14-2005, 04:02 PM
Replies: 3
Views: 1,097
Posted By PowerOrb
RE: ItemIndex Autoexecuts on change

Try to Close your adoquery before modify the combos:

adoquery.close;
Combobox1.Itemindex := 0;
Combobox2.Itemindex := 0;
Combobox3.Itemindex := 0;
Combobox4.Itemindex := 0;
adoquery.open;
Forum: General 08-19-2005, 12:02 PM
Replies: 4
Views: 1,386
Posted By PowerOrb
RE: Printing large images

THANKS A LOT!

Best Regards!

________________________________________________________

Sometimes it's hard to recognize what is reality and what is virtual....
Forum: General 08-19-2005, 08:06 AM
Replies: 4
Views: 1,386
Posted By PowerOrb
RE: Printing large images

Iīm using actually Report Builder 7,

but any clue would be pleased!

Best Regards!

________________________________________________________

Sometimes it's hard to recognize what is...
Forum: General 08-19-2005, 06:40 AM
Replies: 4
Views: 1,386
Posted By PowerOrb
Printing large images

I have an large bitmap that must be printed on paper

when printing it is larger than the printing area of an A4 paper, and for financial reasons we canīt buy an printer that can print on large...
Forum: General 04-25-2005, 03:18 AM
Replies: 3
Views: 2,967
Posted By PowerOrb
RE: Pass record to dll, and back

Yes, just convert the record to the new language but make sure the types of the fields match.

I mean, make sure that the Integer, string, or whatever type you are using is equal in both languages....
Forum: General 04-23-2005, 05:22 AM
Replies: 3
Views: 2,967
Posted By PowerOrb
RE: Pass record to dll, and back

- First, create an unit and declare the record structure and an pointer type for the record, it will be used for both dll and application
PMyRec = ^TMyRec;
TMyRec = record
x, y:...
Forum: General 04-13-2005, 06:19 AM
Replies: 1
Views: 1,863
Posted By PowerOrb
RE: Double click grid title

Hi,

I solves this way:

- create an global boolean var like vCadDoIt

- on DBGrid DblClick:
procedure TFrm_Mailing.DBGridDblClick(Sender: TObject);
begin
If vCanDoIt then
Forum: General 03-16-2005, 07:35 AM
Replies: 7
Views: 1,236
Posted By PowerOrb
RE: Active Form Question

Here is how I solved this:


I created an event on the ActiveX that notifies that the operation was completed called OnDone

On the html page that has the ActiveX I capture this event and with...
Forum: General 03-15-2005, 04:01 AM
Replies: 7
Views: 1,236
Posted By PowerOrb
RE: Active Form Question

The ShellExecute command opens in a new window. How this page will be used often, it would be bettwe if it opens the URL in the same window

I need to pass some params to the url using the post...
Forum: General 03-13-2005, 12:36 PM
Replies: 7
Views: 1,236
Posted By PowerOrb
RE: Active Form Question

Compatibility with others Operational Systems or browsers is not an matter, it will be for use with Internet Explorer.


Please, someone ...

at least send an command to the actual browser...
Forum: General 03-13-2005, 12:28 PM
Replies: 1
Views: 764
Posted By PowerOrb
RE: ID3 Tags

Always use the search before post an question, almost all your questions are answered somewhere

See this:
http://www.delphipages.com/threads/thread.cfm?ID=82029&G=82013

Best Regards!
...
Forum: General 03-11-2005, 07:37 AM
Replies: 7
Views: 1,236
Posted By PowerOrb
RE: Active Form Question

My ActiveX is loaded by an HTML page,

what Iīd like to do is modify the document that called my object, something like get the container (Internet Explorer) where my object is in.


Anyway,...
Forum: General 03-11-2005, 03:27 AM
Replies: 7
Views: 1,236
Posted By PowerOrb
Active Form Question

Anyone could give some tips on how to make my ActiveX object modify the HTML document that it is placed in ?

Consulting MSDN I found this:

If a control supports either the IObjectWithSite or...
Forum: General 03-05-2005, 03:52 AM
Replies: 2
Views: 3,273
Posted By PowerOrb
IPictureDisp

Iīm using an ActiveX component that has an event with an param of type IPictureDisp

Iīd like to extract the picture (that I know is an TBitmap) from this parameter and store it in an TImage...
Forum: DB-Aware 03-01-2005, 07:28 AM
Replies: 4
Views: 3,900
Posted By PowerOrb
RE: Capture column resize event in an DBGrid

Thanks for reply

I need to capture the user event on the fly, I mean, while the user is resizing it.

Best Regards!

________________________________________________________

Sometimes it's...
Forum: DB-Aware 03-01-2005, 02:22 AM
Replies: 4
Views: 3,900
Posted By PowerOrb
RE: Capture column resize event in an DBGrid

What Delphi version are you using ?

Iīm testing it in Delphi 7 but couldntīt find the event ColWidthChanged in the DBGrid object.

Best Regards!
...
Forum: DB-Aware 02-28-2005, 02:41 AM
Replies: 4
Views: 3,900
Posted By PowerOrb
Capture column resize event in an DBGrid

Anyone knows how to detect when an user resizes an column in an DBGrid component ?

Best Regards!

________________________________________________________

Sometimes it's hard to recognize...
Forum: General 02-26-2005, 09:17 AM
Replies: 1
Views: 1,474
Posted By PowerOrb
RE: Component SubComponent

Have you tried creating an frame ?

Creating an frame is the same as creating an form, but you can use it as an "component" in others forms . Available in Delphi 6 or later, Iīm not sure if Delphi...
Forum: General 02-17-2005, 04:55 AM
Replies: 3
Views: 5,764
Posted By PowerOrb
RE: Sharing Memory Between applications with CreateFileMapping

The CreateFileMapping worked perfectly for me, i wouldnīt like to be modifying the code

"CreateFileMapping" has an parameter that requeires an security structure, consulting the Windows SDK...
Forum: General 02-16-2005, 08:01 AM
Replies: 3
Views: 5,764
Posted By PowerOrb
RE: Sharing Memory Between applications with CreateFileMapping

Sorry, the correct code is:

Map := CreateFileMapping($FFFFFFFF, // $FFFFFFFF gets a page memory file
nil, // no security attributes
...
Forum: General 02-16-2005, 07:55 AM
Replies: 3
Views: 5,764
Posted By PowerOrb
Sharing Memory Between applications with CreateFileMapping

Using the following code I create an shared memory space, but it is pnly accessible for the user that executes de application.

How to make a global system shared memory ?


var
Map:...
Forum: General 01-25-2005, 10:00 AM
Replies: 2
Views: 917
Posted By PowerOrb
RE: TListView and XP Icons..

Delphi 7 has some componenets that displays files using Windows Shell, so the files and folders assume the SO icons.

You can find them in "Samples" component palette - ShellTreeViw, ShellComboBox,...
Forum: General 01-25-2005, 09:51 AM
Replies: 1
Views: 732
Posted By PowerOrb
RE: Where I can find...?

The components you are looking for I donīt know, but theis link has some nice OpenGl components for Delphi:

http://glscene.sourceforge.net/

Best Regards!
...
Forum: General 10-29-2004, 10:22 AM
Replies: 5
Views: 4,907
Posted By PowerOrb
RE: Define global compiler directives?

Go to menu Project - Options, select page [b][b][b]Directives/Conditionals, there there is an field named Conditional Defines, just type an diretive like {$DEFINE TRIAL}

Best Regards!
...
Forum: General 10-25-2004, 07:04 AM
Replies: 3
Views: 966
Posted By PowerOrb
RE: Print black dots on a Fixed Size paper

procedure TForm1.Button1Click(Sender: TObject);
begin
with Printer do
begin
BeginDoc;
Canvas.Pen.Style := psDot;
// moves to an point
Canvas.MoveTo(10,10);
// draws a...
Forum: General 10-25-2004, 06:47 AM
Replies: 1
Views: 1,034
Posted By PowerOrb
RE: Concatenation in SQL

UPDATE MyTable
SET MyField=MyField || 'Z'


Just replace "+" by "||"

Best Regards!

________________________________________________________
Forum: General 08-11-2004, 04:08 AM
Replies: 1
Views: 679
Posted By PowerOrb
How to return an value when an application terminates

Is there a way to call another application and receives an return value when it is finished?

Just an example of what Iīd like: {this is not an piece of real code}

variable x: Integer;
begin
...
Forum: General 07-21-2004, 09:49 AM
Replies: 3
Views: 1,616
Posted By PowerOrb
RE: IBX - what to do when the connection is lost ?

Any opensource objects for connection with firebird ?

Best Regards!

________________________________________________________

<ct>Sometimes it's hard to recognize what is reality and what is...
Showing results 1 to 50 of 192

 
Forum Jump

All times are GMT. The time now is 04:44 AM.


Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2019, vBulletin Solutions, Inc.