|
Now you're using your noggin'
I think simply disallowing deletes until you have a certain experience quotient is the best.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Chris Maunder wrote: change some spelling or content?
insert the new content in place, leave the old as is.
maybe: allow strike-through
Chris Maunder wrote: legitimately need to remove material
insert a comment [TO BE DELETED] or [IGNORE THIS] or so
Chris Maunder wrote: a large inconvenience to everyone else
if so, limit to new users (first 500 posts)
if they leave their first 500 posts intact, chances are they'll continue to do so.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
hi,
i have installed the crystal report XI but the controls in the toolbox appear disabled.
any idea??
regards,Elie.
dghdfghdfghdfghdgh
|
|
|
|
|
I think you'll find crystal meths causes sligtly less damage to your head. If you had bothered to check for crystal reports here you would have found two pieces of advice:
0. Don't use it.
1. Ask Crystal if you've got a problem.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Hi , Crystal report is cause headache ... ( true story )
may be the diabled toolbar at your crystal report , because an active internet connection
or Local area netwrok ,,
thus , try to disable any of those , and re-run crystal report ...
kind regards ...
I know nothing , I know nothing ...
|
|
|
|
|
I'm alreay familiar with Bitmap function: MakeTransparent() which sets one color to be transparent. I would like to go a step further and enable the user to adjust the transparency range around the selected transparency color. I'm currently using the ImageAttributes class for modifying bitmaps and I was hoping to use it for setting the transparency range. I see that there is SetThreshold() and SetColorKey() but I don't know how to use these to set a color range that encompasses hue, saturation and brightness differences.
Any suggestions?
There cannot be a crisis today; my schedule is already full.
|
|
|
|
|
You'll have to convert HSL to RGB, then you can specify a range of colors to make transparent in your ImageAttributes class.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Thanks for the response. Have you ever used the SetColorKey() method? The reason I ask is because I am already adjusting the HLS values and converting them to an RGB color. Any adjustments away from the original color value produces no transparency at all
Every bit of googling I've done only brings examples that set the LowColor and HighColor with the same value: imageAttribute.SetColorKey(_color, _color);
No one seems to be using different values! BTW, if there is better way than the ImageAttributes class to do this transparency range, I'm willing to listen.
There cannot be a crisis today; my schedule is already full.
|
|
|
|
|
Just write it yourself, converting the HSL value to RGB is not going to do what you wanted (you can't use a range of hues with RGB values and that's what you wanted, right?)
It's not too hard, but special care is needed with black/gray/white since they "don't have a hue" (naive hue checking would always include them which is usually not desired)
|
|
|
|
|
Oh, good point. I was thinking he just wanted to go a little either side of one specific color.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
Umm... what's the question?
|
|
|
|
|
sorry. figured it out myself alreay.
thanks
|
|
|
|
|
please don't delete messages, just add a reply or edit the subject line.
deleting or clearing messages results in a messy forum.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
the question should have been: can I do the same without any if, and half the amount of code.
the answer is yes, you can.
and BTW the last statement should have been inside the else block.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Noted your point. Thanks
It works great
|
|
|
|
|
Forgot to mention, when a button's function changes, it is polite to reflect that in its Text.
Helps preventing user confusion.
[ADDED]Still doesn't need an if, the ?: operator is great for such things.[/ADDED]
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
please i need an advice on how i can learn this language very fast. i have some knowledge of c programming and c++. can i learn more myself just by reading. thanks
|
|
|
|
|
Hi,
yes, you can learn the basics of any language from a tutorial book. Go to the bookstore, look at a couple of C# books and buy the one or two that you like most. Work your way through the initial chapters and try a few things on a PC to make it sink in. Skip specialized chapters you don't yet need (databases, networking, ...).
Then read some of the excellent articles here on CP.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Best piece of advice I've seen in a while. 5'ed.
|
|
|
|
|
You have been given an excelent piece of advice from Luc; a man very well respected on this forum. All I can add is that you should take it!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I can't agree with the one-voter that hit you
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
FWIW: I have seen that sig before, WNW
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Luc Pattyn wrote: I have seen that sig before, WNW
Can't be mehim! He was a Brit, dontcha know, and Hungarian I am.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I agree with Luc, but I would add - C# has a LOT of gotchas for someone who assumes that it's like C++, it just LOOKS like C++. If you hope to read a couple of articles and then start a C# project, I would say you need to tread with care.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|