Is there a spell check in Windows (like in Mac OS X)? If yes, is there any way to use on a richedit on delphi 7?
I've been trying to find that answer on the internet but so far no answer.
code is appreciated.
thanks!
...
I'm looping through an array in JavaScript to check for null in each object using jQuery, what would be the best cross browser solution for this?
...
Hi,
I am wondering if there is a way to tell if the user hasn't typed in the UITextField say for 2 seconds.
If that's not possible, I'd like to know if there is a way to tell if the user made an error typing in the text field - example:
There is a UITextView which contains objects from an NSArray and the user has to type in the textf...
Hello,
I want to put together the functionality of these two links:
http://www.bitrepository.com/a-simple-ajax-username-availability-checker.html
http://bassistance.de/jquery-plugins/jquery-plugin-validation/ (demo: http://jquery.bassistance.de/validate/demo/)
It is actually adding the email existence check to the jQuery Validation plu...
I basically need a function to check whether a string's characters (each character) is in an array.
My code isn't working so far, but here it is anyway :|
$allowedChars = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"," ","A","B","C","D","E","F","G","H","I","J","K","L","M",...
There is a variable $list, which has some array.
printr_r($list);
gives something like:
Array (
[0] => stdClass Object (
[ID] => 1
[name] => Martha Dandridge
)
[1] => stdClass Object (
[ID] => 35
[name] => Abigail Smith
)
[2] => stdClass Object (
[ID] => 153
[name] =...
I've written an Applescript to play a selection of streaming video programmes available on the BBC iPlayer and, though it works OK, my network connection is prone to interruptions which eventually trip up the Flash script that does the clever stuff within Safari.
So, I'd like to to add the facility to check the network activity at inter...
Hello, I have a Website, which is built upon a CMS, written in PHP. And now i'm trying to develop an App. I want the app to check for Updates on the website every time it starts, for example, if a new article is added to the website, a news about this publishment should be displayed on the app.
My knowledge in this area is very poor. C...
Hi!
I found out how to find if the database exists with this code:
if(mysql_select_db('db-name'))
return true;
But i would like to check the tables inside the database. Here is the code:
error_reporting(0);
session_start();
global $_ERROR;
$_ERROR = array();
$installed = false;
if($_POST)
{
$num = 0;
foreach($_POST as $ke...
Can anyone point in the direction of any tutorials that show how to create an options menu with clicakble checks like in the picture below:
I have tried as follows:
/** Menu creation and setup **/
/* Creates the menu items */
public boolean onCreateOptionsMenu(Menu menu) {
boolean result = super.onCreateOptionsMenu(menu)...
Hi.
Let's say I'd like to perform the following command:
house.getFloor(0).getWall(WEST).getDoor().getDoorknob();
To avoid a NullPointerException, I'd have to do the following if:
if (house != null && house.getFloor(0) && house.getFloor(0).getWall(WEST) != null
&& house.getFloor(0).getWall(WEST).getDoor() != null) ...
Is there a...
I have a website which utilizes facebook integration. You can use it independently of FB. However, it also loads in FB through the canvas page. I want to load a different CSS file if the page is being displayed on the canvas page then when it is displayed through going to it directly.
How can i check if the page loaded in the canvas ...
I am trying to use unit testing framework for C called Check.
I installed the package as instructed on the file INSTALL in the package:
./configure
make
make check -> run self-tests that come with the package (pass successfully).
make install
After doing that I failed to run my own test so finally I decided to use the package exampl...
I am trying to create a user login/creation script in PHP and would like to know the best way to check if a username exists when creating a user. At the moment, I have the following code:
function createUser($uname,$pword) {
$server->connect(DB_HOST,DB_USER,DB_PASS,DB_NAME);
$this->users = $server->query("SELECT * FROM u...
I want to check if a variable called $smth is blank ( i mean empty space ), and i also want to check if it is set using the function i defined below:
function is_blank($var){
$var = trim($var);
if( $var == '' ){
return true;
} else {
return false;
}
}
The problem is i can't find a way to check if variab...
I have an action script 2.0 request.
i have a flash movie with 7 check boxes. when the user has selcted a total of 4 check boxes the flash movie goes to another frame.
pretty simple
i'll contain all the checkboxes in a movie clip called mcCheckBox.
I just need to the code to make it go to a new frame once four check boxes have been...
Hi,
I wonder which of these excerpts should take less resources, when we want to see if "word" is an element of an array:
Excerpt 1 - Check variable:
<?php
function checkWord($word, $elements) {
$array = array($word => true);
foreach ($elements as $element) {
if (isset($array[$element])) return true;
}
return f...
How can I check check-boxes (on page load) according to value of check-boxes using jQuery? I have list of values that I have stored within localstorage (Long live HTML5 !!) A sample data would be
something_random|something_random2|something_random3
And basically I want to read each value and make sure onload checkboxes that already ha...
How can I determine the machine on which a given DLL can run. There are many platforms ARM, SH4, x64, x32. When I have no other information than the DLL itself how to do that?
Background: There is a set off DLLs and some of them are not appropriate. How to detect them "offline"?
SOLUTION
Thanks for the help: the solution I use is th...
I need to use a file for one of my tests written using Check. I initially hardcoded the path, which worked fine. However, this didn't work when the code is built outside of the source directory. I came up with the following solution which somewhat works. (I then prefix pathnames with TESTS_DIR)
# Set correct directory for test files
AS_...