Just put the name of your form and then .Text like this
WinForm1.Text = "Title changed";
Just put this in the function where you want the Text to change.
Type: Posts; User: algi
Just put the name of your form and then .Text like this
WinForm1.Text = "Title changed";
Just put this in the function where you want the Text to change.
Does the 2005 express beta 2 expire. And is it true that you are not allowed to publish anything you make.
I've solved the above and the webbrowser decleration looks like this
this.WebBrowser.Anchor = System.Windows.Forms.AnchorStyles.None;
this.WebBrowser.Enabled = true;...
I understand now thanks, but now my compiler is saying that i line of code that was there before is invalid.
this.WebBrowser.Navigate += new EventHandler(WebBrowser_Navigate);
The errors...
basically my compiler, compiles it when i have System.EventArgs. I'll give you my whol code.
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;...
well no i'm not using visual studio, and thats the problem. Delphi 2005 doesn't have the web browser control so i've had to import it using this line:
private AxSHDocVw.AxWebBrowser...
I'm trying to make a simple web Browser, but i'm getting errors where if the URL changes then the address bar does.
private void WebBrowser_Navigated(object sender, System.EventArgs e)
{...
I have two forms in my project, and when i click a button i want it to show another form so i put this line of code.
WinForm2.Show();
It then comes up with the error message
should it be done like
private: System::Void button1_Click(System::Object * sender, System::EventArgs * e)
{
char text[255];
text=(this->textBox1->Text);
}
when i put invlidaterect() in it says cannot convert int to const rect
I've got a bitmap and when you use the up and sown arrow keys the image moves up and down the screen. It moves down ok, but there seems to be a problem with moving up the screen where part of the...
My friend is really cruel to animals, and insects, he's always finding new ways to have fun with them.
I the past he's put a frog in a jar, thrown a banger in it, dived behind a bush and watch the...
how would i create a static control that contains the text i want. Can you show me an example.
I must admit London is a dissapointing capital, something to be ashamed of. The underground stinks, I mean people hate it enough to make up songs like this . Nearly everwhere you go you'll get...
If you think London is a nice place to be then you're really wrong. Crime is really high there and although you can make a lot of money there it costs a lot to live. I live in a place called Suffolk,...
Basically i had a problem before where is i called i function by a button and then deleted the button there would be a problem when i try and write text over where the old button used to be. I solved...
I don't know whether you can do it in console windows, but you can in win32, opengl, directx and stuff.
if you want to do it for the whole window it's
LoadCursor(NULL, IDC_IBEAM);
Disabling the button worked but in the function that i call, if i create a button in that function the problem comes back.
This is what i now have, but with the same problem.
#include...
oh yes it works now, thanks ken fitlike
This is a method of showing a bitmap i have tried before but this time it doesn't work
main.cpp
#include <windows.h>
#include <string.h>
#include <stdio.h>
/* Declare Windows procedure ...
hey thanks, by hiding it before i call the function i can see all the text
oh right, stuff like php, and java.i suppose thay are simular to c++. My friend knows Java, that seems a bit like C++.
although i suppose a software engineer is more work, to be able to learn c++ is harder than html, javascript, css...
In this example programme, i have a function that is called when a button is pressed, and the button get's deleted. The problem is in the function that the button calls, some of the text can't be...