|
|
I've look at that i tried the "Answer" given on that page but I don't know what to do with the "SignConverter" part. The description says "The sign converter just takes a number and returns its negative value."
So when I didn't knew what it exactly did I put it in commentary and ran the project and saw it wasn't doing what I want.
But is that the part that ensures the text to start when is has not ended?
Kevin
By the way. Sorry for my crappy English.
|
|
|
|
|
Kevin,
Your English is just fine, no worries.
I'm SUPER busy for the next 2 weeks, almost every moment of the day is taken up with preparation for Code Camp and article writing.
I might be easier to just write this. You need to create a class that exposes a circular buffer that you can read from, then using a System.Times.Timer in your UserControl display the text from the buffer.
Write me in 2 weeks if you have not got this done and I'll write one and place it on my blog.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Well thanks for the idea i've never used something like a circular buffer before but i'll see if i can create one.
Thanks for your help and good luck with Code Camp.
I'll let you know in two week if I made any progress.
Greets,
Kevin
|
|
|
|
|
Well Karl,
I got nowhere with a circular buffer so I put it aside and went on with some other things.
But it often crossed my mind and from what I got to understand of the idea you would still remove a character at the beginning an add one at the end. Would this give you a "smooth animation"?
Thanks,
Kevin
|
|
|
|
|
Yes. It would also give you the ability to play a sound between characters, like a type writter key click.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Are you going to create an article about this?
Could you send me a mail if you do. Because somehow this option "Notify me by e-mail if someone answers this message" doesn't work. So everytime I have to search these postings again.
Greets, Kevin
|
|
|
|
|
Kevin,
I'll post a reply here when I post the code.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
|
|
Hello All,
I was assinged to create/find a silverlight application which should be like media player.
I got success in getting application from here.
When I downloaded it and run it on my machine it runs well, but as I tried to create web Part for the same it does not display anythind in the Web Part.
While debugging (using alerts) I found that the function in StartPlayer.js file EePlayer.Player._getUniqueName("xamlHost"); returns nothing and hence it is not displaying anything.
Now as I am very new to silverlight and also for Javascript I stuck up here.
Can anyoine please let me know what should I do to make it run in SharePoint Web Part?
Thanks in Advance
Paras Kaneriya
Paras Kaneriya The difference between genius and stupidity is that genius has its limits.
|
|
|
|
|
Hello,
The ID of the DIV where you host Silverlight content might be changed in SharePointWebPage. Can you please view the code at runtime and find out what the actual id is?
|
|
|
|
|
How can one apply an application style to the Common Dialogs? I've got a dark style going on in my app and this file open dialog is so bright it is jarring. Any ideas?
<br />
Microsoft.Win32.OpenFileDialog dlg = new Microsoft.Win32.OpenFileDialog();<br />
dlg.FileName = "Document";
dlg.DefaultExt = ".txt";
dlg.Filter = "Text documents (.txt)|*.txt";
<br />
Nullable<bool> result = dlg.ShowDialog();<br />
<br />
if (result == true)<br />
{<br />
string filename = dlg.FileName;<br />
}<br />
Sincerely,
-Ron
|
|
|
|
|
Ron,
Dialog boxes are generally styled according to the operating system, as opposed to the UI that opened them since the users desktop theme will be used to style the dialog box. Example, Windows XP and Vista File Open dialogs look and work slightly different and are styled according to the users desktop theme.
If you check out the WPF SDK, there is a Vista Bridge library that gets you going with using dialog boxes that are operating system specific. I have been hoping that Microsoft would bake operating system dialogs into .NET so that no matter which O/S was running the correct dialog for that O/S would display without a lot of extra work on the developers part.
You "could" always write your own... No fun working with the Win32 API if you don't really have to.
Sorry I could be of more help.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Even for a message box?
Sincerely,
-Ron
|
|
|
|
|
Ron,
Yes. Give this article a look: http://www.codeproject.com/KB/WPF/WPFTaskDialogVistaAndXP.aspx[^]
This is where you need to make a decision. You can have all custom dialogs or use the operating system ones.
For the message boxes, I wanted my XP users to have the rich features of the TaskDialog so I wrote the above library to provide that.
I also have similar boxes for my file dialogs.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
What is equivalent in WPF for WindowsForms` TreeView property ShowLines?
Thanks for help
|
|
|
|
|
Don't know but Bea Costa has a great blogspot that shows how to hide/show the expander:
http://www.beacosta.com/blog/?cat=7[^]
Perhaps there is a similar pattern for which you seek.
Sincerely,
-Ron
|
|
|
|
|
Please advise how to draw bars/rectangles depending upon the appointment we have entered in schedular.I 24 Listboxes for each hour in DayView now.
|
|
|
|
|
aruna_koride wrote: depending upon the appointment we have entered in schedular.I 24
Can you be more specific. Not sure which product you are needing help on. What is the schedular? If that is a third party control, you would probably get much better help posting to the vendor, since we may not have that control.
Have a nice day,
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi Karl
Its not 3rd party control.I am developing it.I have right now few Listboxes joined together to enter appointments, but i want to show boxes/bars same like outlook calendar if tasks are repeated instead of repeating the TEXT.
Hope u understood.
Please advise
|
|
|
|
|
I noticed a link was provided in a below reply.
If this link does not help you, can you post an image or mock up of what you are trying to do? This will help us, help you.
modified 27-Feb-21 21:01pm.
|
|
|
|
|
|
You may want to consider using a Grid inside a ScrollViewer.
The Grid provides a very easy way to have two rows per hour like the picture and then you can add columns as required for each of the actual schedules.
The wrapping ScrollViewer allows you to contain the grid in a certain amount of space and then have the user scroll up and down.
Then add child border controls that span the required number of Grid.Rows. For example, if you have a 2 hour appointment then you would add that border control and have its RowSpan property set to 4. You can style the border control any way you want.
You can then add a TextBlock that displays the text of the appointment. If you have multi-line appoinments you can use some cool features of WPF inside your TextBlock to display formatted text.
Check this very simple example out:
<TextBlock>
<Run FontWeight="Bold">Mole</Run> loves the managed heap<LineBreak />
I hope this helps you get started!
</TextBlock>
modified 27-Feb-21 21:01pm.
|
|
|
|
|
Hi karl
Thanks a lot for your advise.I will try it out
|
|
|
|