Hi all,
I have a xsd file (which I am not allow to change) that contains a complexType called 'AddressType'. Inside this type, there is an element called 'PostalCode' of type xs:string.
Now, I need to do data validation (e.g. ensure it is 5 digits) on 'PostalCode' in another xsd file. Anyone...
Hi,
I am writting a java servlet with jdeveloper. Now I want to export it to an apache server. What are the steps to create a .war file and how to put it on the server?
thank you
EE
Hi,
Is there anyway to output the text as url in a listbox widget.
in my list box widget
the things like
http://www.yahoo.com
http://www.google.com
....
I want to make sure that if i click on the fist link, it go to yahoo. and the second go to google. etc.
rite now i have
bind .f.list...
Hi,
I created a menu as follows:
menubutton .b.mb -text File -menu .b.mb.menu -relief raised
pack .b.mb -side left -ipadx 2
set m [menu .b.mb.menu -tearoff 1]
$m add command -label cut -command { }
$m add command -label paste -command { }
what should i put inside command to make it work as...
Thx for the reply.
I tried couple things, but it still doesn't work.
bind .f.list <B1-ButtonRelease> { exec netscape [.f.list
cget -text] }
bind .f.list <B1-ButtonRelease> { exec netscape [.f.list get 0 1000] }
but it give error when i click the url. It saids something like can't recongize...
Thx for the reply.
I have a follow up question then.
Right now, I got all the url from a c++ function and i direct them into a ListBox widget for output.
.f.list insert end "Search results as follows:"
.f.list insert end ""
bind .f.list <B1-ButtonRelease> { exec netscape...
Hi,
I have just download an extract a tkhtml widget package from http://www.hwaci.com/
However, I don't know how to call it in tk.
when i type package Tkhtml, it gives me compile error saying that it is not found.
Could someone plese come up with a detailed example for doing that?
Or...
Hi,
Suppose i output a bunch of words from C++ function into a listbox widget
e.g. This is la salle
and i want to bold the word "salle"
is it possible? and how to do?
thx
hi,
I am outputing html links to my text widget.
For example, http://www.yahoo.com
is there a way in tk that can actually let me click on the link and go to the yahoo webpage?
If yes, how?
thx
Hi,
I have asked a similar question before and I tried different methods of putting the image into the graphical interface. I also read the mini.tcl webpage.
But I still can't make it work. If someone can come up with an entire example of how to put an image into the interface, that will...
I did the following
image create photo i1 -file ./ds.gif
and it compiles
but the image doesn't show up
where should i put it so that it will show up?
thx
I tried to set up a image in my interface
by keep getting compile error saying ds.bitmap is in wrong format
Here is my script in tk
set im [image create bitmap -file ds.bitmap -maskfile ds.mask]
button .top -image $im
what's the problem?
do i need any event handler in my c++ program?
if...
Hi,
I am using a listbox widget for display the strings from my C++ programs.
It works like this: the user type in the word they would like to search (search engine in my case). Then in my C++ program, i found a list of urls that matches and need to output all of them to the listbox
The...
I have a label widget that I want it to be cleared when the button is pressed.
I tried
button .clear -text "Clear" -command { dsclear .f.list delete 0 2}
this works for just clearing 2 words in the listbox
but if i put delete all
it say I must specify start...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.