I have an old demo project I am trying to dust off to run in Silverlight 3 and it cracks around the "Watermarkedtextbox" element. Anyone know how to get that back, or do I have to come up with another "cool" effect to get the water-mark effect?
It lives and is built in still! But under a different name.
In the System.Windows.Controls assembly actually (in the Silverlight 2 and Silverlight 3 SDKs), in the System.Windows.Controls.Primitives namespace, is the "DatePickerTextBox" class.
This is actually the original WatermarkedTextBox, renamed, since it was only tested for primary use in the DatePicker control for now.
More information on the control is available in the DatePickerTextBox class reference on MSDN.
Tim Heuer blogged about it a while back: Silverlight 2 Watermarked TextBox Control
You can grab the source for the WatermarkedTextBox element from here. You can compile it, and then include the resulting DLL in your project, and it seems to work fine.
The WatermarkedTextBox was removed in Silverlight 2 Beta 2. I believe a similar effect can be achieved using the Background property and an appropriate Brush.
Related
I'm using the Chromium Embedded Framework in my Delphi XE7 application through the DCEF3 version.
Loading web pages through the TChromium object works fine. I also managed to get printing to work.
Problem: I don't seem to find how I can set the specific printing settings through the TCefPrintSettings in ceflib. The class is explained here, but I don't seem to be able to find out how to use it.
Anyone here that can point me in the right direction? That would be very much appreciated!
Thanks
CefPrintSettings is relevant in the context of CefPrintHandler which is only used when running on Linux. To my knowledge there is little control over print settings in CEF.
http://magpcss.org/ceforum/apidocs3/projects/%28default%29/CefPrintHandler.html
See a similar question here http://magpcss.org/ceforum/viewtopic.php?f=10&t=13036&p=26102
I wanted to know if there were a Canvas external library for DART like Fabric.js ?
If it doesn't exist is there a project to make one ? Cause I'm thinking of starting this project, but I would prefer joining a existing project on GIT.
Or maybe there is things integrated in DART that I don't know ?
I've not worked with Fabric.js, but after taking a look at the website, I'd point you to the projects listed below. Neither project is exactly what you are looking for, but should give you a starting point.
2D (Flash object model) - The project changed to StageXL
https://github.com/bp74/StageXL
WebGL
https://github.com/johnmccutchan/spectre
I don't know of any serious Canvas abstraction libs for Dart but maybe these two projects could provide a good inspiration foundation to create one.
Drag & Draw approach
Animation approach
I need components to integrate my app to Windows 7. I'm talking about the taskbar's ability to have progressbar, buttons, text and so on.
What is the best you know?
I don't know about components, but I've seen a few blog posts that explain how to implement this yourself. Check out http://www.drbob42.com/examines/examinC5.htm and http://alex.ciobanu.org/?p=215, for example.
Daniel Wischnewski is developing some Windows 7 components for Delphi.
This video on his blog, demonstrates some of the features.
There's a package of Windows 7 components, free with source, at delphi.fsprolabs.com. The best I can say is that the components perform as expected, when you work out how to use them: the implementation is not very elegant and I found it hard to get started with them. Mason Wheeler's link to DrBob's post will get you to about the same point but you will gain useful knowledge along the way.
There is also a project hosted on goolge code from The unknownones with a component set
called TaskbarListComponents.
It looks to be a very nice and a complete implementation.
You can see them in action here.
http://www.vimeo.com/14291783 TTaskbarListThumbButtons and TTaskbarListOverlayIcon
http://www.vimeo.com/14354328 TTaskbarListProgress
http://www.vimeo.com/14356627 TTaskbarlistFormTab and TTaskbarlistControlTab
Does anyone else think that the add view dialog in VS is useless or is it just me?
Why is there no search/filtering in there? I can not even paste the type name (without namespace) there to speed up the view creation.
Plus, there are a lot of irrelevant classes there, including classes from all referenced libraries.
Am I missing something or Microsoft never did any usability testing with that??
Is it possible to filter out types/assemblies in the dialog and/or better navigation compared to manually scrolling the combobox with all the types listed? Is it possible to include only types from a particular directory/assembly/namespace? (the ViewModels namespace for example)
EDIT: As it seems from the answers that there is no usable workaround for this, I have filed a suggestion at Connect: https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=507784
Please vote for the suggestion if you find this is an important issue.
There is search/filter, but it's a "starts with" search. Start typing and the list will be filtered.
You can paste the type name, but you do need the namespace.
No, I don't think you can remove assemblies.
Could it be improved? Sure. Some of your suggestions are good, and you should consider filing Connect reports for them. Is it useless, IMHO, no.
I tried the dialog in VS2010. As of beta 2, it behaves the same as VS2008, AFAICS. So get your suggestions in soon!
I mainly agree with you. While it's not competely useless, tha fact that all the classes from the referenced libraries show up and that it doesn't have a search box make it slow to add a new view. Maybe you could file a wishlist bug report on the ASP.NET MVC site...
As it seems from that there is no usable workaround for this, I have filed a suggestion at Connect.
In case anyone else feels that this dialog should be improved, please vote for the suggestion in Connect.
Resharper 5.0 implements this dialog very efficiently, solving all the described problems.
I wish to skin my aplication and have noticed that there appears to be no obvious way to do this.
I am used to skinning files for java and wondered if there was any way of changing the appearance of the "standard" delphi7 application.
Edit:(taggs)
Have you looked at SpTBXLib?
http://www.silverpointdevelopment.com/sptbxlib/index.htm
I use the Developer Express Skins library. This works well for standard components, and their own. You can create custom skins, or use their standard ones which include nicely designed haloween and winter ones. They also have a ribbon control to make your app Office 2007 look.
I've seen positive comments about AppFace, but I have not tried it.
Looks like there are some relevant links in this forum thread
Appface looks promising with the extreem looks and the need for just 2 lines of code. but thats a lot of money to make four buttons and a editbox look nice.
linkrank does the same thing but does not look as good and costs even more this time about 180.
Again both seem to boast that you only need 2 lines of source code and theme file.
the link to given forum did not seem to yeild any results apart from these two.
Would be br8 to find a free version even if i have to put in more work myself.
Edit: "suipack" is yet another tool for the same job
Re-Edit: VCL seems to be the basis of what is needed here some copenents listed on
http://www.vclcomponents.com/catalog/Delphi_Skin
Re-Edit-2: found a freeware version here
Re-Edit-3: added coponent but not only is there no help file with this it seems to be incomplete as throws a cannot find "skins.pas" exception
http://www.vclcomponents.com/Delphi/Form_Enhancement/VclSkin-info.html
gone evaluate it and post results back up.
After spending hours installing it or not,, as the case was,, installed the unicodecontroler and the toolbar2000 but the toolbar200 seemed to have a issue with the library path and after i fixed it it would not alow me to reinstall, i had to do this as SpTBXLibDsgn_*.dpk would not install due to not finding reference of tb2kdsgn_d7.dpk..
this results in me going ARRRRRGGGHHHHHH and bashing my head on the wall, the only method for creating skins for free in delphi7 comes as 7 manual installs(as a noob this was hard)
and thenn when i make a boo boo it wont let be uninstall,,, ouch
looks like there will be no styles for me....
Edit: if anyone wants to go for styles i seriously suggest the multiinstaller that i didnt see untill i had currupted my tbk2000 package :(
Another skinning component set for Delphi is AlmediaDev
AFAIK, there are two Delphi components available to skin your application without requiring any code, but both are not free
VCLSkin
SuiSkin